Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001308, allocations: 104 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.001267/0.001268, allocations: 187.7 kB / 16.9 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.362/1.362, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.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 0.8697/0.8697, allocations: 143.1 MB / 433.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 59.91 kB / 0.5143 GB, free: 15.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4161, allocations: 82.04 MB / 0.5944 GB, free: 16.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004683/0.4208, allocations: 4.086 MB / 0.5984 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1563/0.5771, allocations: 148.2 MB / 0.7432 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00084/0.578, allocations: 15.94 kB / 0.7432 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005661/0.5786, allocations: 135 kB / 0.7433 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.5802, allocations: 417.9 kB / 0.7437 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.582, allocations: 0.7101 MB / 0.7444 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001089/0.5831, allocations: 1.164 MB / 0.7456 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008188/0.5839, allocations: 0.6221 MB / 0.7462 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004829/0.5844, allocations: 422.6 kB / 0.7466 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.5849, allocations: 454.8 kB / 0.747 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.585, allocations: 104 kB / 0.7471 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007346/0.5857, allocations: 443.7 kB / 0.7475 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.586, allocations: 267.1 kB / 0.7478 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003744/0.5864, allocations: 497.4 kB / 0.7483 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.5875, allocations: 1.189 MB / 0.7494 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5875, allocations: 0 / 0.7494 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5875, allocations: 4 kB / 0.7494 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.5875, allocations: 0 / 0.7494 GB, free: 1.16 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.3658/0.9533, allocations: 1.307 MB / 0.7507 GB, free: 157 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.9534, allocations: 9.438 kB / 0.7507 GB, free: 157 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.9546, allocations: 175.8 kB / 0.7509 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.9557, allocations: 0.7015 MB / 0.7516 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/0.9558, allocations: 57.98 kB / 0.7516 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.9559, allocations: 75.69 kB / 0.7517 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.9575, allocations: 0.8564 MB / 0.7525 GB, free: 156 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.9575, allocations: 7.875 kB / 0.7525 GB, free: 156 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.631e-05/0.9576, allocations: 41.84 kB / 0.7526 GB, free: 156 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.9576, allocations: 19.78 kB / 0.7526 GB, free: 156 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.9594, allocations: 1.056 MB / 0.7536 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/0.963, allocations: 2.384 MB / 0.7559 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.9644, allocations: 0.7987 MB / 0.7567 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.9648, allocations: 272.8 kB / 0.757 GB, free: 154 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.334e-05/0.9649, allocations: 32.58 kB / 0.757 GB, free: 154 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008096/0.9658, allocations: 420.5 kB / 0.7574 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.474e-06/0.9658, allocations: 0 / 0.7574 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.003014/0.9688, allocations: 1.055 MB / 0.7585 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.9689, allocations: 196.8 kB / 0.7586 GB, free: 153 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007791/0.9697, allocations: 0.5938 MB / 0.7592 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.9697, allocations: 43.83 kB / 0.7593 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.9699, allocations: 365 kB / 0.7596 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.9701, allocations: 229.3 kB / 0.7598 GB, free: 152 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.9703, allocations: 149.1 kB / 0.76 GB, free: 152 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.654e-05/0.9704, allocations: 380 kB / 0.7603 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004361/0.9709, allocations: 232.7 kB / 0.7606 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005584/0.9714, allocations: 325.9 kB / 0.7609 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.9726, allocations: 0.5429 MB / 0.7614 GB, free: 151 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.9726, allocations: 0.5625 kB / 0.7614 GB, free: 151 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001713/0.9743, allocations: 0.7656 MB / 0.7621 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.9744, allocations: 12.56 kB / 0.7622 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.9744, allocations: 2.594 kB / 0.7622 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006494/0.975, allocations: 79.69 kB / 0.7622 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.9756, allocations: 145.4 kB / 0.7624 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.9775, allocations: 1.639 MB / 0.764 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/0.9781, allocations: 73.06 kB / 0.764 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.796e-05/0.9782, allocations: 38.25 kB / 0.7641 GB, free: 148.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (81): * Single equations (assignments): 80 * 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.0004175/0.9786, allocations: 250.7 kB / 0.7643 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.9788, allocations: 71.81 kB / 0.7644 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.9806, allocations: 0.9737 MB / 0.7653 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.9807, allocations: 8 kB / 0.7653 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.9807, allocations: 0.5938 kB / 0.7653 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.9807, allocations: 6.422 kB / 0.7654 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.9831, allocations: 1.832 MB / 0.7671 GB, free: 146 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.9831, allocations: 0.8125 kB / 0.7671 GB, free: 146 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004701/0.9836, allocations: 139.8 kB / 0.7673 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004155/0.984, allocations: 72.62 kB / 0.7673 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/0.9841, allocations: 23.98 kB / 0.7674 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.9855, allocations: 1.674 MB / 0.769 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.9856, allocations: 5.188 kB / 0.769 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.987, allocations: 0.8911 MB / 0.7699 GB, free: 143 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.9873, allocations: 259.8 kB / 0.7701 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.677e-05/0.9874, allocations: 19.91 kB / 0.7701 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005238/0.9879, allocations: 51.94 kB / 0.7702 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.9881, allocations: 56.92 kB / 0.7702 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/0.9881, allocations: 31.98 kB / 0.7703 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000381/0.9885, allocations: 423 kB / 0.7707 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9885, allocations: 0 / 0.7707 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00078/0.9893, allocations: 284.5 kB / 0.771 GB, free: 141.9 MB / 0.5762 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 (81): * Single equations (assignments): 78 * 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.001302/0.9906, allocations: 0.6034 MB / 0.7715 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.9925, allocations: 0.9195 MB / 0.7724 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.9925, allocations: 4 kB / 0.7724 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006818/0.9932, allocations: 490.3 kB / 0.7729 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.9943, allocations: 294.8 kB / 0.7732 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.9977, allocations: 2.063 MB / 0.7752 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.998, allocations: 0.9836 MB / 0.7762 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.9983, allocations: 111.4 kB / 0.7763 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.9983, allocations: 3.938 kB / 0.7763 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.01779/1.016, allocations: 17.06 MB / 0.7929 GB, free: 119.7 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngleFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.o] Error 1