Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.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.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC") translateModel(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 108 kB / 16.41 MB, free: 6.027 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.001165/0.001165, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.17 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.8732/0.8732, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.67 kB / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1803, allocations: 82.04 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC): time 0.6768/0.8571, allocations: 181.9 MB / 0.8539 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02038/0.8775, allocations: 12.78 MB / 0.8664 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003847/0.8814, allocations: 75.62 kB / 0.8665 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.8842, allocations: 0.7553 MB / 0.8672 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007501/0.8917, allocations: 2.223 MB / 0.8694 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006527/0.8983, allocations: 2.603 MB / 0.8719 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0122/0.9105, allocations: 10.83 MB / 0.8825 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01748/0.9281, allocations: 13.91 MB / 0.8961 GB, free: 12.62 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008747/0.9368, allocations: 5.251 MB / 0.9012 GB, free: 7.352 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008753/0.9456, allocations: 5.55 MB / 0.9066 GB, free: 1.789 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.004705/0.9504, allocations: 1.734 MB / 0.9083 GB, free: 56 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009017/0.9594, allocations: 3.056 MB / 0.9113 GB, free: 13 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.008306/0.9678, allocations: 3.235 MB / 0.9145 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0111/0.9789, allocations: 5.579 MB / 0.9199 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02613/1.005, allocations: 20.52 MB / 0.94 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/1.005, allocations: 0 / 0.94 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.755e-06/1.005, allocations: 0 / 0.94 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006767/1.006, allocations: 0 / 0.94 GB, free: 15.57 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2288 * Number of variables: 2288 Notification: Performance of Generate backend data structure: time 0.03929/1.045, allocations: 10.07 MB / 0.9498 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/1.045, allocations: 12.02 kB / 0.9498 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05904/1.104, allocations: 10.96 MB / 0.9605 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01494/1.119, allocations: 5.549 MB / 0.9659 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007466/1.12, allocations: 0.6503 MB / 0.9666 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005094/1.125, allocations: 0.8398 MB / 0.9674 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05991/1.185, allocations: 17.72 MB / 0.9847 GB, free: 1.461 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003206/1.186, allocations: 0 / 0.9847 GB, free: 1.461 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00414/1.19, allocations: 363.9 kB / 0.985 GB, free: 1.105 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002733/1.19, allocations: 305.5 kB / 0.9853 GB, free: 0.8047 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06781/1.258, allocations: 22.66 MB / 1.007 GB, free: 10.11 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09983/1.358, allocations: 39.88 MB / 1.046 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03836/1.396, allocations: 12.67 MB / 1.059 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.9053/2.301, allocations: 7.434 MB / 1.066 GB, free: 291 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001613/2.303, allocations: 0.8232 MB / 1.067 GB, free: 290.3 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02648/2.33, allocations: 7.876 MB / 1.075 GB, free: 288.6 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=621): time 4.129e-05/2.33, allocations: 2.75 kB / 1.075 GB, free: 288.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=623): time 0.1297/2.459, allocations: 35.25 MB / 1.109 GB, free: 276.1 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/2.46, allocations: 247 kB / 1.109 GB, free: 275.9 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00888/2.468, allocations: 3.939 MB / 1.113 GB, free: 274.3 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002565/2.471, allocations: 128.1 kB / 1.113 GB, free: 274.2 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.003247/2.474, allocations: 2.969 MB / 1.116 GB, free: 271.7 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004744/2.479, allocations: 2.07 MB / 1.118 GB, free: 269.9 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0106/2.49, allocations: 1.196 MB / 1.119 GB, free: 269.2 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 7.594e-05/2.49, allocations: 301.1 kB / 1.12 GB, free: 268.9 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01801/2.508, allocations: 6.395 MB / 1.126 GB, free: 263.4 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01884/2.527, allocations: 6.943 MB / 1.133 GB, free: 256.4 MB / 0.8263 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zonHVAC.vol.dynBal.medium.p = zonHVAC.vol.dynBal.p_start (sin.p = zonHVAC.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 1.823/4.35, allocations: 270.6 MB / 1.397 GB, free: 276.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-05/4.35, allocations: 1.25 kB / 1.397 GB, free: 276.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.04554/4.395, allocations: 14.34 MB / 1.411 GB, free: 271.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/4.396, allocations: 7.594 kB / 1.411 GB, free: 271.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-05/4.396, allocations: 7.781 kB / 1.411 GB, free: 271.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008817/4.396, allocations: 175.3 kB / 1.411 GB, free: 271.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01388/4.41, allocations: 2.295 MB / 1.413 GB, free: 271.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003729/4.414, allocations: 3.63 MB / 1.417 GB, free: 268 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01177/4.426, allocations: 1.159 MB / 1.418 GB, free: 267.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002504/4.428, allocations: 283.6 kB / 1.418 GB, free: 267.9 MB / 0.8263 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: zonHVAC.vol.dynBal.medium.p = zonHVAC.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 10 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2,conCooPID.I.trigger_internal,conHeaPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (702): * Single equations (assignments): 700 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.008902/4.437, allocations: 2.699 MB / 1.421 GB, free: 266.5 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003125/4.441, allocations: 497.5 kB / 1.421 GB, free: 266.5 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05117/4.492, allocations: 15.73 MB / 1.437 GB, free: 261.1 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.251e-05/4.492, allocations: 61.62 kB / 1.437 GB, free: 261.1 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.552e-05/4.492, allocations: 4.188 kB / 1.437 GB, free: 261.1 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03996/4.532, allocations: 13.11 MB / 1.449 GB, free: 254.6 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06732/4.599, allocations: 28.08 MB / 1.477 GB, free: 226.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.133e-05/4.599, allocations: 4 kB / 1.477 GB, free: 226.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01287/4.612, allocations: 2.173 MB / 1.479 GB, free: 224.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007836/4.613, allocations: 167.3 kB / 1.479 GB, free: 224.2 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002164/4.615, allocations: 199.8 kB / 1.479 GB, free: 224 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003069/4.618, allocations: 3.638 MB / 1.483 GB, free: 220.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/4.618, allocations: 4 kB / 1.483 GB, free: 220.1 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05915/4.677, allocations: 23.34 MB / 1.506 GB, free: 196.7 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005365/4.683, allocations: 2.076 MB / 1.508 GB, free: 194.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003013/4.686, allocations: 151.4 kB / 1.508 GB, free: 194.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01078/4.697, allocations: 1.157 MB / 1.509 GB, free: 193.3 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00165/4.698, allocations: 376.4 kB / 1.509 GB, free: 193 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001804/4.7, allocations: 247.7 kB / 1.51 GB, free: 192.7 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.005764/4.706, allocations: 3.034 MB / 1.513 GB, free: 189.7 MB / 0.8263 GB Notification: Performance of sort global known variables: time 2.51e-07/4.706, allocations: 0 / 1.513 GB, free: 189.7 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.008863/4.715, allocations: 1.611 MB / 1.514 GB, free: 188.1 MB / 0.8263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (zonHVAC.capMas.T,zonHVAC.vol.dynBal.medium.Xi[1],zonHVAC.vol.dynBal.U,conHeaPID.I.y,conCooPID.I.y) * 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 (646): * Single equations (assignments): 642 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003605/4.719, allocations: 0.8204 MB / 1.515 GB, free: 187.5 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.03755/4.756, allocations: 14.34 MB / 1.529 GB, free: 173.1 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/4.756, allocations: 8.062 kB / 1.529 GB, free: 173.1 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.01993/4.776, allocations: 7.45 MB / 1.536 GB, free: 165.6 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01031/4.786, allocations: 1.053 MB / 1.537 GB, free: 164.6 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04412/4.831, allocations: 19.93 MB / 1.557 GB, free: 144.6 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006338/4.837, allocations: 5.261 MB / 1.562 GB, free: 139.3 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008214/4.845, allocations: 0.7487 MB / 1.563 GB, free: 138.5 MB / 0.8263 GB Notification: Performance of SimCode: time 2.354e-06/4.845, allocations: 0 / 1.563 GB, free: 138.5 MB / 0.8263 GB Notification: Performance of Templates: time 0.672/5.517, allocations: 221.9 MB / 1.779 GB, free: 230.8 MB / 0.8263 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.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.ThermalZones.ISO13790.Examples.HeatingCoolingHVACCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVACCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVACCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVACFunctions.cpp:8:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVACCalcHelperMain.o] Error 1