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.001283/0.001283, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001327/0.001327, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.14 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.8621/0.8621, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 64.31 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1917, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC): time 0.6101/0.8019, allocations: 181.9 MB / 0.8539 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02043/0.8223, allocations: 12.77 MB / 0.8664 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003982/0.8264, allocations: 83.62 kB / 0.8665 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002523/0.829, allocations: 0.7435 MB / 0.8672 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007011/0.836, allocations: 2.157 MB / 0.8693 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006138/0.8421, allocations: 2.591 MB / 0.8718 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01195/0.8541, allocations: 10.83 MB / 0.8824 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01577/0.8699, allocations: 13.91 MB / 0.896 GB, free: 12.65 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008718/0.8787, allocations: 5.235 MB / 0.9011 GB, free: 7.402 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008986/0.8877, allocations: 5.55 MB / 0.9065 GB, free: 1.84 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00446/0.8922, allocations: 1.738 MB / 0.9082 GB, free: 104 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007777/0.9, allocations: 3.044 MB / 0.9112 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004845/0.9048, allocations: 3.235 MB / 0.9144 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.009052/0.9139, allocations: 5.591 MB / 0.9198 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02566/0.9396, allocations: 20.51 MB / 0.9398 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.9396, allocations: 0 / 0.9398 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9396, allocations: 0 / 0.9398 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005842/0.9402, allocations: 4 kB / 0.9399 GB, free: 15.62 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.0344/0.9747, allocations: 10.06 MB / 0.9497 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.9747, allocations: 8.031 kB / 0.9497 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05743/1.032, allocations: 10.97 MB / 0.9604 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01366/1.046, allocations: 5.545 MB / 0.9658 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00071/1.047, allocations: 0.6464 MB / 0.9664 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005045/1.052, allocations: 0.8438 MB / 0.9673 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0556/1.107, allocations: 17.71 MB / 0.9846 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003246/1.108, allocations: 7.938 kB / 0.9846 GB, free: 1.523 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004098/1.112, allocations: 367.9 kB / 0.9849 GB, free: 1.164 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000305/1.112, allocations: 305.5 kB / 0.9852 GB, free: 0.8633 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06747/1.18, allocations: 22.66 MB / 1.007 GB, free: 10.17 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.09829/1.278, allocations: 39.89 MB / 1.046 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03684/1.315, allocations: 12.67 MB / 1.059 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.8244/2.139, allocations: 7.433 MB / 1.066 GB, free: 291 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/2.141, allocations: 0.8253 MB / 1.067 GB, free: 290.3 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02351/2.164, allocations: 7.878 MB / 1.074 GB, free: 288.6 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=621): time 1.45e-05/2.165, allocations: 0 / 1.074 GB, free: 288.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=623): time 0.1074/2.272, allocations: 35.26 MB / 1.109 GB, free: 276.1 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/2.272, allocations: 249.1 kB / 1.109 GB, free: 275.9 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007355/2.279, allocations: 3.941 MB / 1.113 GB, free: 274.3 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002441/2.282, allocations: 128.2 kB / 1.113 GB, free: 274.2 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002843/2.285, allocations: 2.961 MB / 1.116 GB, free: 271.6 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.003699/2.288, allocations: 2.068 MB / 1.118 GB, free: 269.9 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006669/2.295, allocations: 1.197 MB / 1.119 GB, free: 269.2 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 5.053e-05/2.295, allocations: 301.1 kB / 1.119 GB, free: 268.9 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01651/2.312, allocations: 6.398 MB / 1.126 GB, free: 263.5 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01846/2.33, allocations: 6.943 MB / 1.132 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.72/4.05, allocations: 270.6 MB / 1.397 GB, free: 276 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/4.05, allocations: 1.281 kB / 1.397 GB, free: 276 MB / 0.8263 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.0417/4.092, allocations: 14.35 MB / 1.411 GB, free: 271.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/4.092, allocations: 6.875 kB / 1.411 GB, free: 271.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/4.092, allocations: 5.281 kB / 1.411 GB, free: 271.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008284/4.093, allocations: 175.9 kB / 1.411 GB, free: 271.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0132/4.106, allocations: 2.293 MB / 1.413 GB, free: 271.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003399/4.109, allocations: 3.627 MB / 1.417 GB, free: 267.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01126/4.121, allocations: 1.155 MB / 1.418 GB, free: 267.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002289/4.123, allocations: 292.2 kB / 1.418 GB, free: 267.7 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.0083/4.131, allocations: 2.694 MB / 1.421 GB, free: 266.4 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003762/4.135, allocations: 0.4892 MB / 1.421 GB, free: 266.4 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04786/4.183, allocations: 15.73 MB / 1.437 GB, free: 261 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.869e-05/4.183, allocations: 61.44 kB / 1.437 GB, free: 261 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.487e-05/4.183, allocations: 6.766 kB / 1.437 GB, free: 261 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03846/4.221, allocations: 13.1 MB / 1.449 GB, free: 254.6 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07069/4.292, allocations: 28.09 MB / 1.477 GB, free: 226.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.117e-05/4.292, allocations: 4 kB / 1.477 GB, free: 226.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01299/4.305, allocations: 2.169 MB / 1.479 GB, free: 224.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007945/4.306, allocations: 167.3 kB / 1.479 GB, free: 224.2 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002278/4.308, allocations: 203.8 kB / 1.479 GB, free: 224 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003108/4.312, allocations: 3.633 MB / 1.483 GB, free: 220.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/4.312, allocations: 4 kB / 1.483 GB, free: 220.1 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05915/4.371, allocations: 23.34 MB / 1.506 GB, free: 196.7 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006731/4.378, allocations: 2.076 MB / 1.508 GB, free: 194.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003458/4.381, allocations: 151.4 kB / 1.508 GB, free: 194.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01141/4.392, allocations: 1.148 MB / 1.509 GB, free: 193.3 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00202/4.395, allocations: 384.5 kB / 1.509 GB, free: 192.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002119/4.397, allocations: 243.8 kB / 1.51 GB, free: 192.7 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.006114/4.403, allocations: 3.03 MB / 1.512 GB, free: 189.7 MB / 0.8263 GB Notification: Performance of sort global known variables: time 2.41e-07/4.403, allocations: 0 / 1.512 GB, free: 189.7 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0101/4.413, allocations: 1.615 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.00411/4.417, allocations: 0.8124 MB / 1.515 GB, free: 187.5 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.03714/4.454, 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.46e-05/4.454, allocations: 4.25 kB / 1.529 GB, free: 173.1 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.01964/4.474, allocations: 7.446 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.01088/4.485, allocations: 1.062 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.0474/4.532, allocations: 19.92 MB / 1.557 GB, free: 144.5 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007539/4.54, allocations: 5.265 MB / 1.562 GB, free: 139.3 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008272/4.548, allocations: 0.7487 MB / 1.563 GB, free: 138.5 MB / 0.8263 GB Notification: Performance of SimCode: time 7.52e-07/4.548, allocations: 0 / 1.563 GB, free: 138.5 MB / 0.8263 GB Notification: Performance of Templates: time 0.6597/5.208, allocations: 221.9 MB / 1.779 GB, free: 230.7 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