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.001001/0.001001, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009932/0.0009932, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.363/1.363, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.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.9967/0.9967, allocations: 143.2 MB / 435.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 8 kB / 0.517 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.154, allocations: 83.4 MB / 0.5985 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling): time 0.2955/0.4495, allocations: 9.683 MB / 0.608 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1559/0.6054, allocations: 149 MB / 0.7534 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.6078, allocations: 55 kB / 0.7535 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.6089, allocations: 337.8 kB / 0.7538 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003104/0.6121, allocations: 0.8286 MB / 0.7546 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004094/0.6162, allocations: 1.836 MB / 0.7564 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008636/0.6248, allocations: 8.335 MB / 0.7646 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009781/0.6346, allocations: 8.509 MB / 0.7729 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003554/0.6382, allocations: 2.261 MB / 0.7751 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00429/0.6425, allocations: 2.897 MB / 0.7779 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.6436, allocations: 188 kB / 0.7781 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.6453, allocations: 0.5387 MB / 0.7786 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.6463, allocations: 1.193 MB / 0.7798 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003891/0.6502, allocations: 3.27 MB / 0.783 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01341/0.6637, allocations: 15.59 MB / 0.7982 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.6637, allocations: 1.406 kB / 0.7982 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6637, allocations: 0 / 0.7982 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004073/0.6641, allocations: 0 / 0.7982 GB, free: 14.95 MB / 0.6231 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.02057/0.6847, allocations: 7.795 MB / 0.8058 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.6848, allocations: 12.03 kB / 0.8058 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05749/0.7423, allocations: 11.33 MB / 0.8169 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009914/0.7523, allocations: 5.093 MB / 0.8219 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000461/0.7527, allocations: 0.6183 MB / 0.8225 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002984/0.7557, allocations: 0.8047 MB / 0.8232 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04809/0.8038, allocations: 17.46 MB / 0.8403 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001656/0.8041, allocations: 7.922 kB / 0.8403 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001976/0.806, allocations: 348 kB / 0.8406 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000163/0.8062, allocations: 208 kB / 0.8408 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6067/1.413, allocations: 22.67 MB / 0.863 GB, free: 185.7 MB / 0.67 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.08947/1.502, allocations: 38.9 MB / 0.901 GB, free: 169.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0391/1.542, allocations: 12.64 MB / 0.9133 GB, free: 164.6 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0198/1.561, allocations: 7.274 MB / 0.9204 GB, free: 162 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/1.563, allocations: 0.633 MB / 0.921 GB, free: 161.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02253/1.586, allocations: 7.731 MB / 0.9286 GB, free: 157.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=591): time 3.455e-05/1.586, allocations: 0 / 0.9286 GB, free: 157.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=591): time 0.06588/1.652, allocations: 20.73 MB / 0.9488 GB, free: 146.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/1.652, allocations: 242.4 kB / 0.949 GB, free: 146.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005476/1.657, allocations: 3.616 MB / 0.9526 GB, free: 144.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002533/1.66, allocations: 125.3 kB / 0.9527 GB, free: 144.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002443/1.662, allocations: 2.789 MB / 0.9554 GB, free: 142 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003561/1.666, allocations: 1.953 MB / 0.9573 GB, free: 140.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002032/1.668, allocations: 413.3 kB / 0.9577 GB, free: 139.8 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.126e-05/1.668, allocations: 309 kB / 0.958 GB, free: 139.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01721/1.685, allocations: 6.302 MB / 0.9642 GB, free: 133.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01759/1.703, allocations: 6.806 MB / 0.9708 GB, free: 126.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03466/1.737, allocations: 12.86 MB / 0.9834 GB, free: 113.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.723e-05/1.737, allocations: 0 / 0.9834 GB, free: 113.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=676) (initialization): time 0.04324/1.781, allocations: 14.2 MB / 0.9972 GB, free: 99.03 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/1.781, allocations: 9.094 kB / 0.9973 GB, free: 99.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/1.781, allocations: 4.25 kB / 0.9973 GB, free: 99.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/1.782, allocations: 341.4 kB / 0.9976 GB, free: 98.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01346/1.796, allocations: 2.223 MB / 0.9998 GB, free: 96.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005425/1.801, allocations: 4.629 MB / 1.004 GB, free: 91.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01109/1.812, allocations: 1.526 MB / 1.006 GB, free: 90.04 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001966/1.814, allocations: 279.7 kB / 1.006 GB, free: 89.76 MB / 0.67 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.006328/1.82, allocations: 2.582 MB / 1.009 GB, free: 87.17 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00135/1.822, allocations: 450.4 kB / 1.009 GB, free: 86.72 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04504/1.867, allocations: 15.62 MB / 1.024 GB, free: 71 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.906e-05/1.867, allocations: 60 kB / 1.024 GB, free: 70.94 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.867, allocations: 0 / 1.024 GB, free: 70.94 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001408/1.867, allocations: 27.89 kB / 1.024 GB, free: 70.91 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05736/1.924, allocations: 27.48 MB / 1.051 GB, free: 43.39 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/1.925, allocations: 4 kB / 1.051 GB, free: 43.39 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01306/1.938, allocations: 2.071 MB / 1.053 GB, free: 41.31 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/1.939, allocations: 333.4 kB / 1.054 GB, free: 40.98 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002069/1.941, allocations: 187.8 kB / 1.054 GB, free: 40.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005259/1.946, allocations: 4.626 MB / 1.058 GB, free: 35.91 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.946, allocations: 0 / 1.058 GB, free: 35.91 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06637/2.013, allocations: 22.9 MB / 1.081 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007466/2.02, allocations: 2.219 MB / 1.083 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003479/2.024, allocations: 100 kB / 1.083 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01511/2.039, allocations: 1.183 MB / 1.084 GB, free: 9.336 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002203/2.041, allocations: 352.4 kB / 1.084 GB, free: 8.988 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001837/2.043, allocations: 231.8 kB / 1.085 GB, free: 8.762 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006113/2.049, allocations: 2.821 MB / 1.087 GB, free: 5.961 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.32e-07/2.049, allocations: 0 / 1.087 GB, free: 5.961 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01086/2.06, allocations: 2.012 MB / 1.089 GB, free: 3.961 MB / 0.67 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.003808/2.064, allocations: 0.7398 MB / 1.09 GB, free: 3.465 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.04785/2.112, allocations: 14.13 MB / 1.104 GB, free: 5.246 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/2.112, allocations: 0 / 1.104 GB, free: 5.246 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.02233/2.134, allocations: 7.4 MB / 1.111 GB, free: 13.81 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007666/2.142, allocations: 0.6959 MB / 1.112 GB, free: 13.12 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3722/2.514, allocations: 22.65 MB / 1.134 GB, free: 206.6 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005772/2.52, allocations: 5.071 MB / 1.139 GB, free: 205.7 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007345/2.527, allocations: 0.7147 MB / 1.139 GB, free: 205.7 MB / 0.7013 GB Notification: Performance of SimCode: time 1.213e-06/2.527, allocations: 0 / 1.139 GB, free: 205.7 MB / 0.7013 GB Notification: Performance of Templates: time 0.2243/2.752, allocations: 207.6 MB / 1.342 GB, free: 45.2 MB / 0.7013 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++14 -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