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.0009227/0.0009227, allocations: 99.03 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.0008847/0.0008847, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.324 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 1.02/1.02, allocations: 143.2 MB / 435.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003228, allocations: 8 kB / 0.517 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1521, allocations: 83.41 MB / 0.5985 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC): time 0.4653/0.6175, allocations: 177 MB / 0.7713 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01934/0.6368, allocations: 12.54 MB / 0.7835 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003168/0.64, allocations: 71.62 kB / 0.7836 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.6422, allocations: 0.5662 MB / 0.7842 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006398/0.6486, allocations: 1.92 MB / 0.786 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005506/0.6541, allocations: 2.346 MB / 0.7883 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01116/0.6653, allocations: 10.46 MB / 0.7985 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01388/0.6792, allocations: 11.17 MB / 0.8094 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004988/0.6842, allocations: 2.7 MB / 0.8121 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005939/0.6902, allocations: 3.341 MB / 0.8153 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001438/0.6917, allocations: 204 kB / 0.8155 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004435/0.6961, allocations: 1.649 MB / 0.8172 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001996/0.6982, allocations: 1.36 MB / 0.8185 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004954/0.7031, allocations: 3.554 MB / 0.822 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02118/0.7243, allocations: 16.58 MB / 0.8381 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7244, allocations: 0 / 0.8381 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.876e-06/0.7244, allocations: 0 / 0.8381 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0005483/0.725, allocations: 0 / 0.8381 GB, free: 5.898 MB / 0.6544 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.03308/0.758, allocations: 8.29 MB / 0.8462 GB, free: 13.52 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.7581, allocations: 11.97 kB / 0.8463 GB, free: 13.51 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07731/0.8354, allocations: 11.5 MB / 0.8575 GB, free: 1.977 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5758/1.411, allocations: 5.479 MB / 0.8628 GB, free: 186.4 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005115/1.412, allocations: 0.6509 MB / 0.8635 GB, free: 186.4 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00308/1.415, allocations: 0.8438 MB / 0.8643 GB, free: 186.4 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04593/1.461, allocations: 17.92 MB / 0.8818 GB, free: 180.9 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000224/1.461, allocations: 2.594 kB / 0.8818 GB, free: 180.9 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002604/1.464, allocations: 361.9 kB / 0.8821 GB, free: 180.6 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002408/1.464, allocations: 309.7 kB / 0.8824 GB, free: 180.6 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06536/1.529, allocations: 23.07 MB / 0.905 GB, free: 174.2 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.09159/1.621, allocations: 40.39 MB / 0.9444 GB, free: 150.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03432/1.655, allocations: 12.69 MB / 0.9568 GB, free: 140.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01863/1.674, allocations: 7.463 MB / 0.9641 GB, free: 132.9 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/1.676, allocations: 0.8197 MB / 0.9649 GB, free: 132 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02103/1.697, allocations: 7.913 MB / 0.9726 GB, free: 124 MB / 0.67 GB Notification: Performance of pre-optimization done (n=621): time 1.448e-05/1.697, allocations: 0 / 0.9726 GB, free: 124 MB / 0.67 GB Notification: Performance of matching and sorting (n=623): time 0.1057/1.802, allocations: 35.42 MB / 1.007 GB, free: 88.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.981e-05/1.802, allocations: 244.8 kB / 1.007 GB, free: 88.03 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005499/1.808, allocations: 3.929 MB / 1.011 GB, free: 84.07 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002253/1.81, allocations: 137.6 kB / 1.011 GB, free: 83.93 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002425/1.813, allocations: 2.969 MB / 1.014 GB, free: 80.94 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003956/1.817, allocations: 2.061 MB / 1.016 GB, free: 78.89 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001768/1.818, allocations: 442 kB / 1.017 GB, free: 78.46 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.794e-05/1.819, allocations: 301.1 kB / 1.017 GB, free: 78.16 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01691/1.835, allocations: 6.424 MB / 1.023 GB, free: 71.73 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01832/1.854, allocations: 6.973 MB / 1.03 GB, free: 64.66 MB / 0.67 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.661/3.514, allocations: 277.5 MB / 1.301 GB, free: 86.36 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/3.515, allocations: 0 / 1.301 GB, free: 86.36 MB / 0.7013 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.03972/3.554, allocations: 14.39 MB / 1.315 GB, free: 72.17 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/3.554, allocations: 8.938 kB / 1.315 GB, free: 72.16 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/3.554, allocations: 12.25 kB / 1.315 GB, free: 72.15 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008/3.555, allocations: 174.1 kB / 1.315 GB, free: 71.97 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01366/3.569, allocations: 2.31 MB / 1.318 GB, free: 69.68 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/3.572, allocations: 3.328 MB / 1.321 GB, free: 66.11 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01134/3.583, allocations: 1.214 MB / 1.322 GB, free: 64.91 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002276/3.586, allocations: 287.7 kB / 1.322 GB, free: 64.62 MB / 0.7013 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.008855/3.595, allocations: 2.7 MB / 1.325 GB, free: 61.92 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002407/3.597, allocations: 493.8 kB / 1.325 GB, free: 61.69 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04756/3.645, allocations: 15.82 MB / 1.341 GB, free: 45.88 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.19e-05/3.645, allocations: 63.98 kB / 1.341 GB, free: 45.81 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/3.645, allocations: 4 kB / 1.341 GB, free: 45.81 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03842/3.683, allocations: 13.16 MB / 1.354 GB, free: 32.55 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06526/3.748, allocations: 28.24 MB / 1.381 GB, free: 4.375 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/3.749, allocations: 4.438 kB / 1.381 GB, free: 4.371 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01336/3.762, allocations: 2.192 MB / 1.383 GB, free: 2.176 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008398/3.763, allocations: 169.6 kB / 1.384 GB, free: 2.004 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002444/3.765, allocations: 199.8 kB / 1.384 GB, free: 1.809 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3657/4.131, allocations: 3.336 MB / 1.387 GB, free: 205.4 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/4.131, allocations: 10 kB / 1.387 GB, free: 205.4 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06189/4.193, allocations: 23.42 MB / 1.41 GB, free: 199.9 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00599/4.199, allocations: 2.202 MB / 1.412 GB, free: 199 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002899/4.202, allocations: 111.6 kB / 1.412 GB, free: 198.9 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01162/4.213, allocations: 1.21 MB / 1.413 GB, free: 198.8 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002272/4.216, allocations: 375.1 kB / 1.414 GB, free: 198.8 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002415/4.218, allocations: 243.6 kB / 1.414 GB, free: 198.7 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.009166/4.227, allocations: 3.031 MB / 1.417 GB, free: 197.6 MB / 0.7013 GB Notification: Performance of sort global known variables: time 9.22e-07/4.227, allocations: 0 / 1.417 GB, free: 197.6 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.01133/4.239, allocations: 1.612 MB / 1.419 GB, free: 197.4 MB / 0.7013 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.004601/4.243, allocations: 0.8254 MB / 1.419 GB, free: 197.2 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.04432/4.288, allocations: 14.36 MB / 1.433 GB, free: 192.5 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/4.288, allocations: 5.156 kB / 1.433 GB, free: 192.4 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.02528/4.313, allocations: 7.48 MB / 1.441 GB, free: 189.9 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01369/4.327, allocations: 0.9996 MB / 1.442 GB, free: 189.5 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06054/4.387, allocations: 23.9 MB / 1.465 GB, free: 177.3 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006368/4.394, allocations: 5.266 MB / 1.47 GB, free: 175.2 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006545/4.4, allocations: 0.7504 MB / 1.471 GB, free: 174.7 MB / 0.7013 GB Notification: Performance of SimCode: time 1.793e-06/4.4, allocations: 0 / 1.471 GB, free: 174.7 MB / 0.7013 GB Notification: Performance of Templates: time 0.5907/4.991, allocations: 219.9 MB / 1.686 GB, free: 203.4 MB / 0.7169 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++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.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