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.001359/0.001359, allocations: 105.1 kB / 16.41 MB, free: 6.465 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.001256/0.001256, allocations: 187 kB / 17.34 MB, free: 5.715 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.05 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.8992/0.8992, allocations: 143.1 MB / 434.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 65.14 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1673, allocations: 82.03 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC): time 0.6114/0.7787, allocations: 182.4 MB / 0.8544 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02201/0.8007, allocations: 12.79 MB / 0.8669 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00519/0.8059, allocations: 75.62 kB / 0.867 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004013/0.8099, allocations: 0.7631 MB / 0.8677 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008934/0.8188, allocations: 2.216 MB / 0.8699 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006843/0.8257, allocations: 2.611 MB / 0.8724 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01368/0.8394, allocations: 10.8 MB / 0.883 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01506/0.8544, allocations: 11.11 MB / 0.8938 GB, free: 15.08 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008942/0.8634, allocations: 5.247 MB / 0.899 GB, free: 9.816 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009278/0.8726, allocations: 5.541 MB / 0.9044 GB, free: 4.262 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.004536/0.8772, allocations: 1.738 MB / 0.9061 GB, free: 2.523 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007695/0.8849, allocations: 3.048 MB / 0.909 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00533/0.8902, allocations: 3.242 MB / 0.9122 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.009934/0.9001, allocations: 5.59 MB / 0.9177 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02661/0.9267, allocations: 20.57 MB / 0.9378 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.9268, allocations: 7.938 kB / 0.9378 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.394e-06/0.9268, allocations: 0 / 0.9378 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0005522/0.9273, allocations: 0 / 0.9378 GB, free: 1.965 MB / 0.7012 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.03452/0.9618, allocations: 10.28 MB / 0.9478 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.9619, allocations: 8.031 kB / 0.9478 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05826/1.02, allocations: 11.02 MB / 0.9586 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01493/1.035, allocations: 5.567 MB / 0.964 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007874/1.036, allocations: 0.6542 MB / 0.9646 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004708/1.041, allocations: 0.8437 MB / 0.9655 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05825/1.099, allocations: 17.72 MB / 0.9828 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003413/1.099, allocations: 0 / 0.9828 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004229/1.103, allocations: 363.9 kB / 0.9831 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003703/1.104, allocations: 305.5 kB / 0.9834 GB, free: 2.898 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06913/1.173, allocations: 22.66 MB / 1.006 GB, free: 12.2 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.1002/1.273, allocations: 39.98 MB / 1.045 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03774/1.311, allocations: 12.14 MB / 1.056 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0212/1.332, allocations: 7.019 MB / 1.063 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7225/2.054, allocations: 0.8191 MB / 1.064 GB, free: 292.3 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0261/2.081, allocations: 7.883 MB / 1.072 GB, free: 291.1 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=621): time 3.8e-05/2.081, allocations: 0 / 1.072 GB, free: 291.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=623): time 0.1247/2.205, allocations: 35.37 MB / 1.106 GB, free: 278.8 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/2.205, allocations: 246.5 kB / 1.107 GB, free: 278.5 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008222/2.214, allocations: 3.94 MB / 1.11 GB, free: 277.1 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002667/2.216, allocations: 124.8 kB / 1.111 GB, free: 277 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.003539/2.22, allocations: 3.041 MB / 1.113 GB, free: 275 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004251/2.224, allocations: 2.171 MB / 1.116 GB, free: 273.4 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007934/2.232, allocations: 1.207 MB / 1.117 GB, free: 272.7 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 5.429e-05/2.232, allocations: 305.1 kB / 1.117 GB, free: 272.4 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01773/2.25, allocations: 6.389 MB / 1.123 GB, free: 266.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01843/2.268, allocations: 6.943 MB / 1.13 GB, free: 259.8 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.646/3.914, allocations: 270.6 MB / 1.394 GB, free: 277.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/3.914, allocations: 2.156 kB / 1.394 GB, free: 277.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.04576/3.96, allocations: 14.36 MB / 1.408 GB, free: 272.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/3.96, allocations: 7.625 kB / 1.408 GB, free: 272.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/3.96, allocations: 3.875 kB / 1.408 GB, free: 272.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007881/3.961, allocations: 178.1 kB / 1.409 GB, free: 272.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01318/3.974, allocations: 2.304 MB / 1.411 GB, free: 272.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/3.978, allocations: 3.616 MB / 1.414 GB, free: 269.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/3.989, allocations: 1.16 MB / 1.415 GB, free: 269.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002369/3.991, allocations: 288.3 kB / 1.416 GB, free: 269.2 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.008411/4, allocations: 2.691 MB / 1.418 GB, free: 267.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003006/4.003, allocations: 0.5115 MB / 1.419 GB, free: 267.8 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04958/4.052, allocations: 15.74 MB / 1.434 GB, free: 262.5 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.516e-05/4.052, allocations: 60.41 kB / 1.434 GB, free: 262.5 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.85e-05/4.052, allocations: 3.531 kB / 1.434 GB, free: 262.5 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03876/4.091, allocations: 13.09 MB / 1.447 GB, free: 257.2 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06759/4.159, allocations: 28.09 MB / 1.475 GB, free: 229.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.617e-05/4.159, allocations: 4 kB / 1.475 GB, free: 229.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01264/4.171, allocations: 2.169 MB / 1.477 GB, free: 227 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007787/4.172, allocations: 173.7 kB / 1.477 GB, free: 226.9 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002351/4.175, allocations: 195.8 kB / 1.477 GB, free: 226.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003081/4.178, allocations: 3.639 MB / 1.481 GB, free: 222.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/4.178, allocations: 12 kB / 1.481 GB, free: 222.8 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05913/4.237, allocations: 23.35 MB / 1.503 GB, free: 199.4 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005826/4.243, allocations: 2.105 MB / 1.505 GB, free: 197.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003925/4.246, allocations: 152.6 kB / 1.506 GB, free: 197.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01089/4.257, allocations: 1.152 MB / 1.507 GB, free: 195.9 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002224/4.26, allocations: 380.4 kB / 1.507 GB, free: 195.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002303/4.262, allocations: 247.7 kB / 1.507 GB, free: 195.3 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.005992/4.268, allocations: 3.034 MB / 1.51 GB, free: 192.3 MB / 0.8263 GB Notification: Performance of sort global known variables: time 1.21e-07/4.268, allocations: 0 / 1.51 GB, free: 192.3 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.009242/4.277, allocations: 1.617 MB / 1.512 GB, free: 190.7 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.0043/4.281, allocations: 0.8193 MB / 1.513 GB, free: 190.1 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.03756/4.319, allocations: 13.92 MB / 1.526 GB, free: 176.1 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/4.319, allocations: 4 kB / 1.526 GB, free: 176.1 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.01942/4.338, allocations: 7.072 MB / 1.533 GB, free: 169 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01124/4.35, allocations: 1.041 MB / 1.534 GB, free: 168 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04665/4.396, allocations: 20.18 MB / 1.554 GB, free: 147.7 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005616/4.402, allocations: 5.261 MB / 1.559 GB, free: 142.5 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008184/4.41, allocations: 0.7526 MB / 1.56 GB, free: 141.7 MB / 0.8263 GB Notification: Performance of SimCode: time 1.392e-06/4.41, allocations: 0 / 1.56 GB, free: 141.7 MB / 0.8263 GB Notification: Performance of Templates: time 0.6891/5.099, allocations: 222.1 MB / 1.777 GB, free: 236.5 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