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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 215.4 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8925/0.8925, allocations: 145 MB / 458.2 MB, free: 15.3 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 74.22 kB / 0.6343 GB, free: 6.258 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1792, allocations: 87.89 MB / 0.7201 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006647/0.1858, allocations: 3.768 MB / 0.7238 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4908/0.6766, allocations: 132.5 MB / 0.8532 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000688/0.6773, allocations: 23.81 kB / 0.8533 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006726/0.678, allocations: 174.5 kB / 0.8534 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.6797, allocations: 494.2 kB / 0.8539 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.6817, allocations: 0.822 MB / 0.8547 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001578/0.6833, allocations: 1.196 MB / 0.8559 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008546/0.6842, allocations: 432.1 kB / 0.8563 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007765/0.685, allocations: 458.4 kB / 0.8567 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006929/0.6856, allocations: 402 kB / 0.8571 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.6858, allocations: 108 kB / 0.8572 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009991/0.6868, allocations: 481.6 kB / 0.8577 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.6871, allocations: 275.1 kB / 0.8579 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.6875, allocations: 406 kB / 0.8583 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.6895, allocations: 1.622 MB / 0.8599 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6895, allocations: 1.688 kB / 0.8599 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6896, allocations: 0 / 0.8599 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.6896, allocations: 4 kB / 0.8599 GB, free: 11.84 MB / 0.6387 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.002326/0.6919, allocations: 1.3 MB / 0.8612 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.6919, allocations: 8.031 kB / 0.8612 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.6935, allocations: 228.1 kB / 0.8614 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.6947, allocations: 0.6788 MB / 0.8621 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/0.6947, allocations: 58 kB / 0.8621 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.6949, allocations: 72 kB / 0.8622 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.6965, allocations: 1.114 MB / 0.8633 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.6965, allocations: 0 / 0.8633 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/0.6966, allocations: 32 kB / 0.8633 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.6966, allocations: 20 kB / 0.8633 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.6983, allocations: 1.018 MB / 0.8643 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003715/0.702, allocations: 1.998 MB / 0.8663 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.7034, allocations: 0.6752 MB / 0.8669 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/0.7038, allocations: 255.4 kB / 0.8672 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.998e-05/0.7039, allocations: 24.64 kB / 0.8672 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007986/0.7047, allocations: 0.5099 MB / 0.8677 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.465e-06/0.7047, allocations: 0 / 0.8677 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.002923/0.7076, allocations: 0.9988 MB / 0.8687 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.7078, allocations: 192.6 kB / 0.8688 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007586/0.7085, allocations: 0.5382 MB / 0.8694 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.7086, allocations: 41.7 kB / 0.8694 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.7089, allocations: 388.8 kB / 0.8698 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.7092, allocations: 242 kB / 0.87 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.7094, allocations: 146.5 kB / 0.8702 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.7096, allocations: 378.8 kB / 0.8705 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/0.71, allocations: 241.9 kB / 0.8707 GB, free: 396 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006573/0.7107, allocations: 451.3 kB / 0.8712 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.7117, allocations: 0.5433 MB / 0.8717 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.7117, allocations: 4.875 kB / 0.8717 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001833/0.7136, allocations: 0.7592 MB / 0.8725 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.7136, allocations: 12 kB / 0.8725 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.7136, allocations: 0 / 0.8725 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/0.7142, allocations: 80.78 kB / 0.8725 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.7148, allocations: 147.8 kB / 0.8727 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.7169, allocations: 1.514 MB / 0.8742 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006105/0.7175, allocations: 71.66 kB / 0.8742 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.121e-05/0.7176, allocations: 27.98 kB / 0.8743 GB, free: 12.61 MB / 0.6544 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.0004397/0.718, allocations: 269.2 kB / 0.8745 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.7182, allocations: 71.53 kB / 0.8746 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.7204, allocations: 0.9589 MB / 0.8755 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.7204, allocations: 15.94 kB / 0.8755 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.7204, allocations: 0 / 0.8755 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.7204, allocations: 3.984 kB / 0.8755 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/0.7235, allocations: 1.599 MB / 0.8771 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.7235, allocations: 5.688 kB / 0.8771 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005291/0.724, allocations: 135.8 kB / 0.8772 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004312/0.7244, allocations: 76.77 kB / 0.8773 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.369e-05/0.7245, allocations: 23.98 kB / 0.8773 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.7265, allocations: 1.532 MB / 0.8788 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.7265, allocations: 4.094 kB / 0.8788 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.7284, allocations: 0.8995 MB / 0.8797 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/0.7288, allocations: 179.2 kB / 0.8799 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.655e-05/0.7289, allocations: 12 kB / 0.8799 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/0.7294, allocations: 52.64 kB / 0.8799 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.7296, allocations: 60.89 kB / 0.88 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/0.7296, allocations: 31.97 kB / 0.88 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005486/0.7302, allocations: 402.8 kB / 0.8804 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.7302, allocations: 0 / 0.8804 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008148/0.731, allocations: 299.1 kB / 0.8807 GB, free: 5.84 MB / 0.6544 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.002021/0.733, allocations: 0.6303 MB / 0.8813 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001604/0.7346, allocations: 0.7278 MB / 0.882 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.7346, allocations: 3.984 kB / 0.882 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008533/0.7355, allocations: 456.2 kB / 0.8825 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.7367, allocations: 302.5 kB / 0.8827 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.7408, allocations: 1.7 MB / 0.8844 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.7413, allocations: 417.1 kB / 0.8848 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/0.7417, allocations: 103.4 kB / 0.8849 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of SimCode: time 1.152e-06/0.7417, allocations: 4 kB / 0.8849 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of Templates: time 0.02825/0.7699, allocations: 17.56 MB / 0.9021 GB, free: 136 kB / 0.67 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 660] 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 -DOMC_BUILD -DUSE_THREAD -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.1.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.1.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 [Calling os._exit(0), Time elapsed: 5.279517248272896] Failed to read output from testmodel.py, exit status != 0: 0.7790288086980581 0.794312285 0.10152704800000001 Calling exit ...