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.001516/0.001516, allocations: 100.9 kB / 16.4 MB, free: 6.461 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.001464/0.001464, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.08 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.8696/0.8696, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 59.88 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1498, allocations: 82.04 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005924/0.1557, allocations: 4.07 MB / 0.6803 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.483/0.6387, allocations: 150.9 MB / 0.8276 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006522/0.6394, allocations: 18.69 kB / 0.8276 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005374/0.6399, allocations: 160.7 kB / 0.8278 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.6414, allocations: 484.6 kB / 0.8283 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.6432, allocations: 0.796 MB / 0.829 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.6445, allocations: 1.181 MB / 0.8302 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007558/0.6453, allocations: 451.8 kB / 0.8306 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005695/0.6458, allocations: 435 kB / 0.831 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005077/0.6463, allocations: 443.9 kB / 0.8315 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.6464, allocations: 104.1 kB / 0.8316 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007837/0.6472, allocations: 469.5 kB / 0.832 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.6475, allocations: 274.9 kB / 0.8323 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004075/0.6479, allocations: 493 kB / 0.8327 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.6496, allocations: 1.57 MB / 0.8343 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6496, allocations: 0 / 0.8343 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6496, allocations: 0 / 0.8343 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.6497, allocations: 2.719 kB / 0.8343 GB, free: 7.867 MB / 0.6075 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.002117/0.6518, allocations: 1.355 MB / 0.8356 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.6518, allocations: 9.562 kB / 0.8356 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008525/0.6527, allocations: 181.6 kB / 0.8358 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.6537, allocations: 0.7281 MB / 0.8365 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.872e-05/0.6538, allocations: 60.5 kB / 0.8365 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.615e-05/0.6539, allocations: 74.47 kB / 0.8366 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.6553, allocations: 0.8597 MB / 0.8375 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.6553, allocations: 0 / 0.8375 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/0.6554, allocations: 35.91 kB / 0.8375 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.6554, allocations: 19.62 kB / 0.8375 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.657, allocations: 1.054 MB / 0.8385 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/0.6605, allocations: 2.357 MB / 0.8408 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.6618, allocations: 0.7537 MB / 0.8416 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004543/0.6623, allocations: 250.5 kB / 0.8418 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.029e-05/0.6624, allocations: 39.53 kB / 0.8418 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007176/0.6631, allocations: 421.3 kB / 0.8423 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 2.164e-06/0.6631, allocations: 0 / 0.8423 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.002807/0.6659, allocations: 1.073 MB / 0.8433 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.666, allocations: 188.1 kB / 0.8435 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007266/0.6667, allocations: 0.5895 MB / 0.8441 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.6668, allocations: 40.42 kB / 0.8441 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.6671, allocations: 370 kB / 0.8444 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.6673, allocations: 249.7 kB / 0.8447 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.6675, allocations: 150.2 kB / 0.8448 GB, free: 420 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.6677, allocations: 378 kB / 0.8452 GB, free: 48 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.6682, allocations: 234.6 kB / 0.8454 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.6687, allocations: 326.1 kB / 0.8457 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009898/0.6697, allocations: 0.5394 MB / 0.8462 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.6697, allocations: 4 kB / 0.8463 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001794/0.6715, allocations: 0.7669 MB / 0.847 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.6715, allocations: 4.094 kB / 0.847 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6715, allocations: 7.75 kB / 0.847 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/0.6721, allocations: 80.77 kB / 0.8471 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/0.6726, allocations: 147.8 kB / 0.8472 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.6749, allocations: 1.631 MB / 0.8488 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/0.6755, allocations: 80.28 kB / 0.8489 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/0.6756, allocations: 39.91 kB / 0.8489 GB, free: 12.5 MB / 0.6231 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.0003984/0.676, allocations: 251.4 kB / 0.8492 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.6761, allocations: 75.53 kB / 0.8492 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.6783, allocations: 0.9659 MB / 0.8502 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.6783, allocations: 8 kB / 0.8502 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.6783, allocations: 7.938 kB / 0.8502 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.6784, allocations: 3.984 kB / 0.8502 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/0.6814, allocations: 1.833 MB / 0.852 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6814, allocations: 0 / 0.852 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/0.6819, allocations: 131.9 kB / 0.8521 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004203/0.6824, allocations: 84.66 kB / 0.8522 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/0.6824, allocations: 19.98 kB / 0.8522 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.6844, allocations: 1.666 MB / 0.8539 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.6844, allocations: 13.3 kB / 0.8539 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.6862, allocations: 0.8995 MB / 0.8547 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.6866, allocations: 252.3 kB / 0.855 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.6867, allocations: 19.94 kB / 0.855 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005213/0.6872, allocations: 52.64 kB / 0.8551 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.6873, allocations: 56.92 kB / 0.8551 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.466e-05/0.6874, allocations: 31.98 kB / 0.8551 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005337/0.6879, allocations: 427 kB / 0.8555 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6879, allocations: 0 / 0.8555 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008137/0.6887, allocations: 287.2 kB / 0.8558 GB, free: 5.191 MB / 0.6231 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.001788/0.6905, allocations: 0.603 MB / 0.8564 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.692, allocations: 0.7276 MB / 0.8571 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.692, allocations: 0 / 0.8571 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008514/0.6929, allocations: 456.5 kB / 0.8576 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.6941, allocations: 304.2 kB / 0.8578 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/0.6977, allocations: 1.688 MB / 0.8595 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.6983, allocations: 0.9914 MB / 0.8605 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.6986, allocations: 111.4 kB / 0.8606 GB, free: 460 kB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.6986, allocations: 0 / 0.8606 GB, free: 460 kB / 0.6231 GB Notification: Performance of Templates: time 0.02282/0.7215, allocations: 17.18 MB / 0.8773 GB, free: 15.29 MB / 0.6544 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++17 -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