Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001158, allocations: 106.1 kB / 15.98 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 196.4 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.6 MB, free: 4.527 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.064/1.064, allocations: 143 MB / 433.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 63.91 kB / 0.5143 GB, free: 11.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1837, allocations: 82.03 MB / 0.5944 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006604/0.1904, allocations: 4.149 MB / 0.5985 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5197/0.7101, allocations: 148.2 MB / 0.7433 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.7112, allocations: 19.56 kB / 0.7433 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006275/0.7119, allocations: 131.4 kB / 0.7434 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.7135, allocations: 422.7 kB / 0.7438 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.7153, allocations: 0.7197 MB / 0.7445 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001141/0.7165, allocations: 1.188 MB / 0.7457 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008294/0.7173, allocations: 0.6116 MB / 0.7463 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005783/0.7179, allocations: 436 kB / 0.7467 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005166/0.7184, allocations: 456.2 kB / 0.7471 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.7186, allocations: 104.6 kB / 0.7472 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008414/0.7194, allocations: 445.7 kB / 0.7477 GB, free: 236 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.7197, allocations: 274 kB / 0.7479 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004701/0.7202, allocations: 499.6 kB / 0.7484 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.7215, allocations: 1.187 MB / 0.7496 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7215, allocations: 0 / 0.7496 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7215, allocations: 0 / 0.7496 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.7216, allocations: 0 / 0.7496 GB, free: 14.65 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002225/0.7238, allocations: 1.331 MB / 0.7509 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.7238, allocations: 8.781 kB / 0.7509 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008718/0.7247, allocations: 188 kB / 0.751 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009443/0.7257, allocations: 0.7037 MB / 0.7517 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/0.7257, allocations: 58 kB / 0.7518 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-05/0.7258, allocations: 79.94 kB / 0.7519 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.7273, allocations: 0.8676 MB / 0.7527 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.7273, allocations: 0 / 0.7527 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-05/0.7274, allocations: 37.12 kB / 0.7527 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.7275, allocations: 21.25 kB / 0.7528 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.7291, allocations: 1.069 MB / 0.7538 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/0.7327, allocations: 2.381 MB / 0.7561 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.734, allocations: 0.7972 MB / 0.7569 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004739/0.7345, allocations: 274.7 kB / 0.7572 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.349e-05/0.7346, allocations: 36.67 kB / 0.7572 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008356/0.7355, allocations: 422.7 kB / 0.7576 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.234e-06/0.7355, allocations: 4 kB / 0.7576 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002944/0.7384, allocations: 1.085 MB / 0.7587 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.7386, allocations: 188.6 kB / 0.7589 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007672/0.7393, allocations: 0.59 MB / 0.7594 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.964e-05/0.7394, allocations: 37.7 kB / 0.7595 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.7397, allocations: 376.3 kB / 0.7598 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.7399, allocations: 244.4 kB / 0.7601 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.7402, allocations: 150.5 kB / 0.7602 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.7404, allocations: 379.7 kB / 0.7606 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/0.7408, allocations: 241.9 kB / 0.7608 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000546/0.7414, allocations: 339.8 kB / 0.7611 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000971/0.7423, allocations: 0.5651 MB / 0.7617 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7424, allocations: 0 / 0.7617 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001809/0.7442, allocations: 0.7824 MB / 0.7624 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.7442, allocations: 4 kB / 0.7624 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.7442, allocations: 0 / 0.7624 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005953/0.7448, allocations: 84.89 kB / 0.7625 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/0.7454, allocations: 147.8 kB / 0.7627 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.7477, allocations: 1.641 MB / 0.7643 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006491/0.7484, allocations: 83.36 kB / 0.7643 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/0.7485, allocations: 35.97 kB / 0.7644 GB, free: 14.94 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004182/0.7489, allocations: 247.4 kB / 0.7646 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.7491, allocations: 79 kB / 0.7647 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.7513, allocations: 1.012 MB / 0.7657 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.7513, allocations: 8 kB / 0.7657 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.7513, allocations: 0 / 0.7657 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.7513, allocations: 3.984 kB / 0.7657 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/0.7544, allocations: 1.86 MB / 0.7675 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.7544, allocations: 3.938 kB / 0.7675 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.755, allocations: 143.8 kB / 0.7676 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/0.7554, allocations: 72.78 kB / 0.7677 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/0.7555, allocations: 23.98 kB / 0.7677 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.7575, allocations: 1.657 MB / 0.7694 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.7575, allocations: 0 / 0.7694 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.7594, allocations: 0.9219 MB / 0.7703 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/0.7598, allocations: 263.7 kB / 0.7705 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.7599, allocations: 16 kB / 0.7705 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005497/0.7604, allocations: 56.92 kB / 0.7706 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.7606, allocations: 64.97 kB / 0.7706 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.485e-05/0.7607, allocations: 34.33 kB / 0.7707 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005736/0.7613, allocations: 427.1 kB / 0.7711 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7613, allocations: 3.938 kB / 0.7711 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000975/0.7623, allocations: 299.2 kB / 0.7714 GB, free: 7.531 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001508/0.7638, allocations: 0.5896 MB / 0.7719 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00226/0.766, allocations: 0.9605 MB / 0.7729 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7661, allocations: 0 / 0.7729 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008456/0.7669, allocations: 492.3 kB / 0.7733 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.7682, allocations: 289.2 kB / 0.7736 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.7725, allocations: 2.099 MB / 0.7757 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/0.7732, allocations: 1.008 MB / 0.7767 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.7735, allocations: 111.4 kB / 0.7768 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/0.7735, allocations: 0 / 0.7768 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of Templates: time 0.02742/0.801, allocations: 17.18 MB / 0.7935 GB, free: 1.055 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o] Error 1