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.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.HeatingCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling") translateModel(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 108.7 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.001233/0.001233, 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.317/1.317, 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.8617/0.8617, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 64.7 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1736, allocations: 82.05 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling): time 0.01405/0.1877, allocations: 10.43 MB / 0.6865 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.6405/0.8282, allocations: 153 MB / 0.8359 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002936/0.8312, allocations: 58.28 kB / 0.836 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.8331, allocations: 457.5 kB / 0.8364 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.8374, allocations: 0.9853 MB / 0.8373 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004877/0.8423, allocations: 2.043 MB / 0.8393 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009776/0.852, allocations: 9.262 MB / 0.8484 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/0.8631, allocations: 8.91 MB / 0.8571 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006548/0.8696, allocations: 4.675 MB / 0.8617 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007426/0.8771, allocations: 5.075 MB / 0.8666 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.004224/0.8814, allocations: 1.676 MB / 0.8682 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005669/0.8871, allocations: 2.066 MB / 0.8703 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.004924/0.892, allocations: 3.013 MB / 0.8732 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.009945/0.902, allocations: 5.26 MB / 0.8783 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02177/0.9238, allocations: 19.21 MB / 0.8971 GB, free: 11.32 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.9239, allocations: 0 / 0.8971 GB, free: 11.32 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.355e-06/0.9239, allocations: 0 / 0.8971 GB, free: 11.32 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005427/0.9244, allocations: 0 / 0.8971 GB, free: 11.32 MB / 0.67 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.03076/0.9552, allocations: 9.47 MB / 0.9064 GB, free: 1.77 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.9553, allocations: 12.03 kB / 0.9064 GB, free: 1.758 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05449/1.01, allocations: 10.78 MB / 0.9169 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/1.023, allocations: 5.136 MB / 0.9219 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000613/1.024, allocations: 0.6144 MB / 0.9225 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004293/1.028, allocations: 0.8085 MB / 0.9233 GB, free: 316 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05277/1.081, allocations: 17.25 MB / 0.9401 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002936/1.081, allocations: 4 kB / 0.9401 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004024/1.085, allocations: 344 kB / 0.9405 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002127/1.085, allocations: 212 kB / 0.9407 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06247/1.148, allocations: 22.27 MB / 0.9624 GB, free: 8.09 MB / 0.7325 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.08973/1.237, allocations: 38.4 MB / 0.9999 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03548/1.273, allocations: 12.61 MB / 1.012 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01899/1.292, allocations: 7.243 MB / 1.019 GB, free: 13.51 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/1.293, allocations: 0.6347 MB / 1.02 GB, free: 12.78 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02126/1.315, allocations: 7.699 MB / 1.027 GB, free: 4.996 MB / 0.795 GB Notification: Performance of pre-optimization done (n=591): time 1.15e-05/1.315, allocations: 0 / 1.027 GB, free: 4.996 MB / 0.795 GB Notification: Performance of matching and sorting (n=591): time 0.06672/1.381, allocations: 20.62 MB / 1.048 GB, free: 244 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002024/1.382, allocations: 244.5 kB / 1.048 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007621/1.389, allocations: 3.62 MB / 1.051 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.00224/1.392, allocations: 121.7 kB / 1.051 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003096/1.395, allocations: 2.786 MB / 1.054 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.004227/1.399, allocations: 1.948 MB / 1.056 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007366/1.406, allocations: 1.146 MB / 1.057 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.407, allocations: 309.1 kB / 1.058 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.8366/2.243, allocations: 6.263 MB / 1.064 GB, free: 291.3 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0208/2.264, allocations: 6.775 MB / 1.07 GB, free: 290.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03837/2.302, allocations: 12.8 MB / 1.083 GB, free: 286.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-05/2.302, allocations: 2.656 kB / 1.083 GB, free: 286.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=676) (initialization): time 0.04409/2.347, allocations: 14.14 MB / 1.097 GB, free: 281.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/2.347, allocations: 11.12 kB / 1.097 GB, free: 281.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/2.347, allocations: 3.375 kB / 1.097 GB, free: 281.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/2.348, allocations: 337.4 kB / 1.097 GB, free: 281.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01336/2.361, allocations: 2.205 MB / 1.099 GB, free: 281.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006544/2.368, allocations: 5.001 MB / 1.104 GB, free: 277.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01108/2.379, allocations: 1.492 MB / 1.105 GB, free: 277.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002529/2.382, allocations: 278.4 kB / 1.106 GB, free: 277.3 MB / 0.8263 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.008414/2.39, allocations: 2.586 MB / 1.108 GB, free: 276 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003007/2.393, allocations: 450.6 kB / 1.109 GB, free: 275.8 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04783/2.441, allocations: 15.53 MB / 1.124 GB, free: 265.1 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.759e-05/2.441, allocations: 60 kB / 1.124 GB, free: 265.1 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/2.441, allocations: 1.5 kB / 1.124 GB, free: 265.1 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001928/2.441, allocations: 33.8 kB / 1.124 GB, free: 265.1 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06247/2.504, allocations: 27.32 MB / 1.151 GB, free: 237.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-05/2.504, allocations: 0 / 1.151 GB, free: 237.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0123/2.516, allocations: 2.063 MB / 1.153 GB, free: 235.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/2.518, allocations: 329.5 kB / 1.153 GB, free: 235.4 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002192/2.52, allocations: 183.8 kB / 1.153 GB, free: 235.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005676/2.526, allocations: 5.017 MB / 1.158 GB, free: 229.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/2.526, allocations: 0 / 1.158 GB, free: 229.9 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05696/2.583, allocations: 22.81 MB / 1.18 GB, free: 207 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006601/2.589, allocations: 2.102 MB / 1.182 GB, free: 204.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003193/2.592, allocations: 135.4 kB / 1.182 GB, free: 204.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01029/2.603, allocations: 1.147 MB / 1.184 GB, free: 203.6 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001869/2.605, allocations: 360.3 kB / 1.184 GB, free: 203.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00199/2.607, allocations: 227.8 kB / 1.184 GB, free: 203 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.005682/2.612, allocations: 2.817 MB / 1.187 GB, free: 200.2 MB / 0.8263 GB Notification: Performance of sort global known variables: time 1.8e-07/2.612, allocations: 3.094 kB / 1.187 GB, free: 200.2 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.009511/2.622, allocations: 2.017 MB / 1.189 GB, free: 198.2 MB / 0.8263 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.003825/2.626, allocations: 0.7398 MB / 1.19 GB, free: 197.7 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.03576/2.662, allocations: 14.1 MB / 1.203 GB, free: 183.5 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/2.662, allocations: 7.938 kB / 1.203 GB, free: 183.5 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.01816/2.68, allocations: 7.371 MB / 1.211 GB, free: 176.1 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007167/2.687, allocations: 0.7397 MB / 1.211 GB, free: 175.4 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04092/2.728, allocations: 18.9 MB / 1.23 GB, free: 156.4 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003545/2.731, allocations: 5.066 MB / 1.235 GB, free: 151.3 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006941/2.738, allocations: 0.7135 MB / 1.235 GB, free: 150.6 MB / 0.8263 GB Notification: Performance of SimCode: time 2.244e-06/2.738, allocations: 0 / 1.235 GB, free: 150.6 MB / 0.8263 GB Notification: Performance of Templates: time 0.6338/3.372, allocations: 209.4 MB / 1.44 GB, free: 257.8 MB / 0.8263 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling.makefile 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.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.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