Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling.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.001456/0.001456, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001648/0.001648, allocations: 220 kB / 23.01 MB, free: 4.609 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.334/1.334, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 179] 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.8636/0.8636, allocations: 145 MB / 458.2 MB, free: 15.69 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.ThermalZones.ISO13790.Examples.HeatingCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling") translateModel(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling") [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.001971/0.001971, allocations: 65.94 kB / 0.6344 GB, free: 6.969 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1647, allocations: 87.89 MB / 0.7202 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling): time 0.01333/0.1781, allocations: 10.56 MB / 0.7305 GB, free: 4.465 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.486/0.6641, allocations: 156.5 MB / 0.8834 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.6656, allocations: 67.56 kB / 0.8834 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.6668, allocations: 472.9 kB / 0.8839 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.6693, allocations: 1.016 MB / 0.8849 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00396/0.6733, allocations: 2.087 MB / 0.8869 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00981/0.6831, allocations: 9.246 MB / 0.8959 GB, free: 9.094 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006306/0.6894, allocations: 4.734 MB / 0.9006 GB, free: 4.254 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005849/0.6952, allocations: 4.803 MB / 0.9052 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007137/0.7024, allocations: 5.095 MB / 0.9102 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003029/0.7054, allocations: 1.68 MB / 0.9119 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003667/0.7091, allocations: 2.089 MB / 0.9139 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003181/0.7123, allocations: 3.028 MB / 0.9169 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.008406/0.7207, allocations: 5.26 MB / 0.922 GB, free: 14.23 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.02032/0.741, allocations: 19.29 MB / 0.9408 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.741, allocations: 0 / 0.9408 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.741, allocations: 0 / 0.9408 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003455/0.7413, allocations: 4 kB / 0.9408 GB, free: 10.89 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: 2188 * Number of variables: 2188 Notification: Performance of Generate backend data structure: time 0.02699/0.7683, allocations: 9.622 MB / 0.9502 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.7684, allocations: 8.031 kB / 0.9502 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06477/0.8331, allocations: 12.26 MB / 0.9622 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.8453, allocations: 5.227 MB / 0.9673 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005269/0.8458, allocations: 0.6222 MB / 0.9679 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003086/0.8489, allocations: 0.8008 MB / 0.9687 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04531/0.8942, allocations: 17.25 MB / 0.9856 GB, free: 12.8 MB / 0.7638 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000165/0.8944, allocations: 3.938 kB / 0.9856 GB, free: 12.79 MB / 0.7638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001846/0.8962, allocations: 348 kB / 0.9859 GB, free: 12.45 MB / 0.7638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001682/0.8964, allocations: 204 kB / 0.9861 GB, free: 12.25 MB / 0.7638 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06066/0.957, allocations: 22.26 MB / 1.008 GB, free: 5.961 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.08605/1.043, allocations: 38.48 MB / 1.045 GB, free: 15.18 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03401/1.077, allocations: 12.08 MB / 1.057 GB, free: 3.078 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01825/1.095, allocations: 6.84 MB / 1.064 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/1.096, allocations: 264.8 kB / 1.064 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02031/1.117, allocations: 7.699 MB / 1.072 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=591): time 8.556e-06/1.117, allocations: 0 / 1.072 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of matching and sorting (n=591): time 0.6444/1.761, allocations: 20.47 MB / 1.092 GB, free: 281 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.761, allocations: 242.5 kB / 1.092 GB, free: 280.8 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005605/1.767, allocations: 3.637 MB / 1.095 GB, free: 279.5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.001786/1.769, allocations: 126.2 kB / 1.096 GB, free: 279.4 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.002421/1.771, allocations: 2.862 MB / 1.098 GB, free: 277.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.002993/1.774, allocations: 2.053 MB / 1.1 GB, free: 276.5 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002656/1.777, allocations: 1.151 MB / 1.101 GB, free: 276.1 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 4.523e-05/1.777, allocations: 301.1 kB / 1.102 GB, free: 275.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0156/1.792, allocations: 6.267 MB / 1.108 GB, free: 273.8 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01679/1.809, allocations: 6.785 MB / 1.115 GB, free: 271.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02864/1.838, allocations: 12.79 MB / 1.127 GB, free: 266.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/1.838, allocations: 11.75 kB / 1.127 GB, free: 266.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=676) (initialization): time 0.03192/1.87, allocations: 14.14 MB / 1.141 GB, free: 257.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/1.87, allocations: 10.34 kB / 1.141 GB, free: 257.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/1.87, allocations: 4 kB / 1.141 GB, free: 257.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/1.871, allocations: 344.9 kB / 1.141 GB, free: 256.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01166/1.883, allocations: 2.203 MB / 1.143 GB, free: 254.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005132/1.888, allocations: 4.8 MB / 1.148 GB, free: 249.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009898/1.898, allocations: 1.513 MB / 1.149 GB, free: 248.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.899, allocations: 271.7 kB / 1.15 GB, free: 248.1 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (649): * Single equations (assignments): 647 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,24), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.004477/1.903, allocations: 2.587 MB / 1.152 GB, free: 245.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/1.905, allocations: 476.8 kB / 1.153 GB, free: 245 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03357/1.938, allocations: 15.54 MB / 1.168 GB, free: 229.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/1.938, allocations: 56 kB / 1.168 GB, free: 229.4 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/1.938, allocations: 4 kB / 1.168 GB, free: 229.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.509e-05/1.938, allocations: 31.88 kB / 1.168 GB, free: 229.4 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04655/1.985, allocations: 27.44 MB / 1.195 GB, free: 202.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/1.985, allocations: 2.938 kB / 1.195 GB, free: 202.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01062/1.995, allocations: 2.063 MB / 1.197 GB, free: 200 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/1.997, allocations: 322.7 kB / 1.197 GB, free: 199.7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001012/1.998, allocations: 185.7 kB / 1.197 GB, free: 199.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00481/2.002, allocations: 4.815 MB / 1.202 GB, free: 194.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/2.002, allocations: 0 / 1.202 GB, free: 194.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04774/2.05, allocations: 22.84 MB / 1.224 GB, free: 171.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005279/2.055, allocations: 2.108 MB / 1.226 GB, free: 169.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00149/2.057, allocations: 135.6 kB / 1.226 GB, free: 169.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00818/2.065, allocations: 1.151 MB / 1.228 GB, free: 168.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008302/2.066, allocations: 384 kB / 1.228 GB, free: 167.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007796/2.067, allocations: 223.8 kB / 1.228 GB, free: 167.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003968/2.071, allocations: 2.837 MB / 1.231 GB, free: 164.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/2.071, allocations: 0 / 1.231 GB, free: 164.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004767/2.075, allocations: 2.037 MB / 1.233 GB, free: 162.6 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (zon5R1C.capMas.T,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 (596): * Single equations (assignments): 592 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (2,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002317/2.078, allocations: 0.7512 MB / 1.234 GB, free: 162.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.03014/2.108, allocations: 13.7 MB / 1.247 GB, free: 148.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/2.108, allocations: 4 kB / 1.247 GB, free: 148.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01594/2.124, allocations: 7.004 MB / 1.254 GB, free: 141.3 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005758/2.13, allocations: 0.7397 MB / 1.255 GB, free: 140.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03706/2.167, allocations: 19.24 MB / 1.273 GB, free: 121.2 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003388/2.17, allocations: 5.071 MB / 1.278 GB, free: 116.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00556/2.176, allocations: 0.7135 MB / 1.279 GB, free: 115.4 MB / 0.8419 GB Notification: Performance of SimCode: time 1.152e-06/2.176, allocations: 4 kB / 1.279 GB, free: 115.4 MB / 0.8419 GB Notification: Performance of Templates: time 0.5521/2.728, allocations: 209.9 MB / 1.484 GB, free: 250.1 MB / 0.8576 GB " [Timeout remaining time 657] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling.makefile [Timeout 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling.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.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.ThermalZones.ISO13790.Examples.HeatingCoolingCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 7.276601827936247] Failed to read output from testmodel.py, exit status != 0: 2.7363217358943075 2.743948518 2.000747037 Calling exit ...