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.001328/0.001328, allocations: 108.9 kB / 16.27 MB, free: 6.004 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.001239/0.001239, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.254/1.254, allocations: 222.9 MB / 240.9 MB, free: 15.25 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.8324/0.8324, allocations: 143.1 MB / 434.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 55.91 kB / 0.5148 GB, free: 15.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3308, allocations: 82.03 MB / 0.5949 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC): time 0.5044/0.8352, allocations: 181.9 MB / 0.7726 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01818/0.8534, allocations: 12.76 MB / 0.785 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003938/0.8574, allocations: 77.44 kB / 0.7851 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002682/0.8602, allocations: 0.7387 MB / 0.7858 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007111/0.8673, allocations: 2.157 MB / 0.7879 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006143/0.8735, allocations: 2.576 MB / 0.7904 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0118/0.8853, allocations: 10.79 MB / 0.801 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0194/0.9047, allocations: 13.92 MB / 0.8146 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009974/0.9147, allocations: 5.152 MB / 0.8196 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009642/0.9244, allocations: 5.508 MB / 0.825 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.005085/0.9295, allocations: 1.737 MB / 0.8267 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008872/0.9384, allocations: 3.012 MB / 0.8296 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005851/0.9443, allocations: 3.241 MB / 0.8328 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01049/0.9548, allocations: 5.592 MB / 0.8383 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02413/0.9789, allocations: 20.26 MB / 0.858 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.979, allocations: 4 kB / 0.858 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.974e-06/0.979, allocations: 0 / 0.858 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0005434/0.9796, allocations: 0 / 0.858 GB, free: 7.32 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: 2288 * Number of variables: 2288 Notification: Performance of Generate backend data structure: time 0.03011/1.01, allocations: 10.04 MB / 0.8678 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/1.01, allocations: 8.031 kB / 0.8678 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05641/1.066, allocations: 10.96 MB / 0.8786 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01176/1.078, allocations: 5.486 MB / 0.8839 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005478/1.079, allocations: 0.6494 MB / 0.8845 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004184/1.083, allocations: 0.8476 MB / 0.8854 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04751/1.13, allocations: 17.71 MB / 0.9027 GB, free: 9.641 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002178/1.131, allocations: 7.984 kB / 0.9027 GB, free: 9.633 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00317/1.134, allocations: 360 kB / 0.903 GB, free: 9.281 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000239/1.134, allocations: 309.5 kB / 0.9033 GB, free: 8.977 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05909/1.193, allocations: 22.66 MB / 0.9254 GB, free: 2.301 MB / 0.6856 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.08702/1.28, allocations: 40.32 MB / 0.9648 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04998/1.33, allocations: 12.66 MB / 0.9772 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02039/1.351, allocations: 7.446 MB / 0.9844 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/1.352, allocations: 0.8209 MB / 0.9852 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02169/1.374, allocations: 7.878 MB / 0.9929 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=621): time 1.008e-05/1.374, allocations: 0 / 0.9929 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of matching and sorting (n=623): time 0.1084/1.482, allocations: 35.25 MB / 1.027 GB, free: 9.883 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/1.482, allocations: 244.8 kB / 1.028 GB, free: 9.598 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005669/1.488, allocations: 3.929 MB / 1.031 GB, free: 5.641 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001994/1.49, allocations: 129.7 kB / 1.032 GB, free: 5.508 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002676/1.493, allocations: 2.968 MB / 1.034 GB, free: 2.512 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003501/1.496, allocations: 2.07 MB / 1.036 GB, free: 472 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.5705/2.067, allocations: 1.191 MB / 1.038 GB, free: 339.8 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.549e-05/2.067, allocations: 302.2 kB / 1.038 GB, free: 339.5 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01789/2.085, allocations: 6.389 MB / 1.044 GB, free: 338.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01879/2.104, allocations: 6.944 MB / 1.051 GB, free: 335.8 MB / 0.795 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.251/3.355, allocations: 270.6 MB / 1.315 GB, free: 78.38 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/3.355, allocations: 0 / 1.315 GB, free: 78.38 MB / 0.795 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.0382/3.393, allocations: 14.34 MB / 1.329 GB, free: 64.21 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/3.393, allocations: 11.94 kB / 1.329 GB, free: 64.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/3.393, allocations: 8 kB / 1.329 GB, free: 64.19 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008051/3.394, allocations: 177.8 kB / 1.329 GB, free: 64.01 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01271/3.407, allocations: 2.297 MB / 1.332 GB, free: 61.71 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/3.41, allocations: 3.612 MB / 1.335 GB, free: 57.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/3.421, allocations: 1.158 MB / 1.336 GB, free: 56.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00229/3.423, allocations: 287.7 kB / 1.337 GB, free: 56.4 MB / 0.795 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.006599/3.43, allocations: 2.7 MB / 1.339 GB, free: 53.69 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001938/3.432, allocations: 499.6 kB / 1.34 GB, free: 53.45 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04379/3.476, allocations: 15.74 MB / 1.355 GB, free: 37.71 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.776e-05/3.476, allocations: 64 kB / 1.355 GB, free: 37.65 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/3.476, allocations: 7.875 kB / 1.355 GB, free: 37.64 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03495/3.511, allocations: 13.09 MB / 1.368 GB, free: 24.45 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.35/3.861, allocations: 28.17 MB / 1.395 GB, free: 332.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.74e-05/3.861, allocations: 6.578 kB / 1.395 GB, free: 332.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01314/3.874, allocations: 2.171 MB / 1.398 GB, free: 332.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008003/3.875, allocations: 163.9 kB / 1.398 GB, free: 332.7 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001871/3.877, allocations: 198.6 kB / 1.398 GB, free: 332.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00317/3.88, allocations: 3.643 MB / 1.401 GB, free: 329.8 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/3.88, allocations: 9.156 kB / 1.401 GB, free: 329.8 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05587/3.936, allocations: 23.32 MB / 1.424 GB, free: 321.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004978/3.941, allocations: 2.079 MB / 1.426 GB, free: 321 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002783/3.944, allocations: 146.5 kB / 1.426 GB, free: 320.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01032/3.954, allocations: 1.161 MB / 1.428 GB, free: 320.8 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001842/3.956, allocations: 375.9 kB / 1.428 GB, free: 320.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002212/3.958, allocations: 247.9 kB / 1.428 GB, free: 320.7 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.004759/3.963, allocations: 3.031 MB / 1.431 GB, free: 319.6 MB / 0.795 GB Notification: Performance of sort global known variables: time 6.11e-07/3.963, allocations: 0 / 1.431 GB, free: 319.6 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.007882/3.971, allocations: 1.615 MB / 1.433 GB, free: 318.5 MB / 0.795 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.003434/3.974, allocations: 0.8225 MB / 1.434 GB, free: 318.1 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.08604/4.06, allocations: 32.4 MB / 1.465 GB, free: 286.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/4.06, allocations: 0 / 1.465 GB, free: 286.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01805/4.078, allocations: 7.45 MB / 1.472 GB, free: 279.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007627/4.086, allocations: 1.05 MB / 1.473 GB, free: 278.2 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03692/4.123, allocations: 20.12 MB / 1.493 GB, free: 258.4 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00407/4.127, allocations: 5.26 MB / 1.498 GB, free: 253.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005701/4.133, allocations: 0.7526 MB / 1.499 GB, free: 252.4 MB / 0.795 GB Notification: Performance of SimCode: time 9.11e-07/4.133, allocations: 0 / 1.499 GB, free: 252.4 MB / 0.795 GB Notification: Performance of Templates: time 0.1985/4.331, allocations: 221 MB / 1.715 GB, free: 31.19 MB / 0.795 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