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.001366/0.001366, allocations: 107.2 kB / 15.99 MB, free: 5.895 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.001607/0.001607, allocations: 188.3 kB / 16.9 MB, free: 5.746 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.306/1.306, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.8413/0.8413, allocations: 143 MB / 433.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 67.89 kB / 0.5143 GB, free: 15.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3511, allocations: 82.04 MB / 0.5944 GB, free: 16.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCooling): time 0.009088/0.3602, allocations: 10.31 MB / 0.6045 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4999/0.8601, allocations: 150.7 MB / 0.7516 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002658/0.8628, allocations: 56.48 kB / 0.7517 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.8646, allocations: 340.4 kB / 0.752 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003899/0.8685, allocations: 0.8418 MB / 0.7528 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004617/0.8732, allocations: 1.871 MB / 0.7547 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01031/0.8835, allocations: 9.219 MB / 0.7637 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/0.8946, allocations: 8.911 MB / 0.7724 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007089/0.9018, allocations: 4.632 MB / 0.7769 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007345/0.9092, allocations: 5.058 MB / 0.7818 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.004499/0.9137, allocations: 1.677 MB / 0.7835 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005821/0.9196, allocations: 2.033 MB / 0.7854 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005179/0.9248, allocations: 3.02 MB / 0.7884 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01079/0.9356, allocations: 5.259 MB / 0.7935 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01619/0.9518, allocations: 16.18 MB / 0.8093 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.9519, allocations: 0 / 0.8093 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.305e-06/0.9519, allocations: 0 / 0.8093 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0006368/0.9525, allocations: 0 / 0.8093 GB, free: 3.5 MB / 0.5919 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.03118/0.9837, allocations: 9.429 MB / 0.8185 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.9838, allocations: 10.12 kB / 0.8185 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05645/1.04, allocations: 10.79 MB / 0.8291 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01181/1.052, allocations: 5.098 MB / 0.8341 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005363/1.053, allocations: 0.626 MB / 0.8347 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004164/1.057, allocations: 0.8008 MB / 0.8355 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05353/1.11, allocations: 17.25 MB / 0.8523 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000234/1.111, allocations: 11.91 kB / 0.8523 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004024/1.115, allocations: 348 kB / 0.8526 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001899/1.115, allocations: 208 kB / 0.8528 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06202/1.177, allocations: 22.25 MB / 0.8746 GB, free: 4.465 MB / 0.6544 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.08666/1.264, allocations: 38.82 MB / 0.9125 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03509/1.299, allocations: 12.6 MB / 0.9248 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01924/1.318, allocations: 7.242 MB / 0.9319 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/1.32, allocations: 0.6316 MB / 0.9325 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02189/1.341, allocations: 7.698 MB / 0.94 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=591): time 1.114e-05/1.342, allocations: 0 / 0.94 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=591): time 0.06552/1.407, allocations: 20.62 MB / 0.9601 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/1.407, allocations: 240.6 kB / 0.9604 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005586/1.413, allocations: 3.612 MB / 0.9639 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.002275/1.415, allocations: 121.7 kB / 0.964 GB, free: 8.977 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002818/1.418, allocations: 2.775 MB / 0.9667 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.004436/1.422, allocations: 1.96 MB / 0.9686 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004812/1.427, allocations: 1.142 MB / 0.9697 GB, free: 3.078 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/1.427, allocations: 305.1 kB / 0.97 GB, free: 2.777 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01718/1.445, allocations: 6.271 MB / 0.9762 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01851/1.463, allocations: 6.774 MB / 0.9828 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03679/1.5, allocations: 12.79 MB / 0.9953 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-05/1.5, allocations: 0 / 0.9953 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=676) (initialization): time 0.04478/1.545, allocations: 14.14 MB / 1.009 GB, free: 10.54 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/1.545, allocations: 11 kB / 1.009 GB, free: 10.53 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/1.545, allocations: 4 kB / 1.009 GB, free: 10.53 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/1.546, allocations: 341.6 kB / 1.009 GB, free: 10.19 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01408/1.56, allocations: 2.21 MB / 1.012 GB, free: 8.035 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006872/1.567, allocations: 5.02 MB / 1.016 GB, free: 2.766 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01234/1.58, allocations: 1.501 MB / 1.018 GB, free: 1.258 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002533/1.582, allocations: 279.6 kB / 1.018 GB, free: 0.9844 MB / 0.795 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.008422/1.591, allocations: 2.584 MB / 1.021 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002577/1.593, allocations: 446.4 kB / 1.021 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3639/1.957, allocations: 15.55 MB / 1.036 GB, free: 351 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.376e-05/1.957, allocations: 59.56 kB / 1.036 GB, free: 351 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/1.957, allocations: 0 / 1.036 GB, free: 351 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001528/1.958, allocations: 32.67 kB / 1.036 GB, free: 351 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06263/2.02, allocations: 27.4 MB / 1.063 GB, free: 340.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-05/2.02, allocations: 0 / 1.063 GB, free: 340.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01165/2.032, allocations: 2.063 MB / 1.065 GB, free: 340.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/2.033, allocations: 329.3 kB / 1.066 GB, free: 340.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001664/2.035, allocations: 189 kB / 1.066 GB, free: 340.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005275/2.04, allocations: 5.008 MB / 1.071 GB, free: 336.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/2.04, allocations: 0 / 1.071 GB, free: 336.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05317/2.093, allocations: 22.81 MB / 1.093 GB, free: 323.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00511/2.098, allocations: 2.092 MB / 1.095 GB, free: 321.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002088/2.101, allocations: 139.4 kB / 1.095 GB, free: 321.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009339/2.11, allocations: 1.157 MB / 1.096 GB, free: 320.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001428/2.111, allocations: 352.3 kB / 1.097 GB, free: 320 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001111/2.113, allocations: 235.7 kB / 1.097 GB, free: 319.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00411/2.117, allocations: 2.813 MB / 1.099 GB, free: 317 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/2.117, allocations: 0 / 1.099 GB, free: 317 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006807/2.123, allocations: 2.018 MB / 1.101 GB, free: 315 MB / 0.8106 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.00244/2.126, allocations: 0.7421 MB / 1.102 GB, free: 314.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.08312/2.209, allocations: 30.75 MB / 1.132 GB, free: 283.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/2.209, allocations: 0 / 1.132 GB, free: 283.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01723/2.226, allocations: 7.36 MB / 1.139 GB, free: 276.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005213/2.232, allocations: 0.731 MB / 1.14 GB, free: 275.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03492/2.267, allocations: 22.53 MB / 1.162 GB, free: 253.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003369/2.27, allocations: 5.066 MB / 1.167 GB, free: 248.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005696/2.276, allocations: 0.7174 MB / 1.168 GB, free: 247.4 MB / 0.8106 GB Notification: Performance of SimCode: time 8.51e-07/2.276, allocations: 0 / 1.168 GB, free: 247.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.1859/2.462, allocations: 208.6 MB / 1.371 GB, free: 38.57 MB / 0.8106 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