Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.475/1.475, allocations: 289.8 MB / 297.1 MB, free: 6.602 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 181.2 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.1 MB / 0.6256 GB, free: 5.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009492/0.0009495, allocations: 90.48 kB / 0.7395 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.356e-06/8.386e-06, allocations: 0 / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5951/0.5951, allocations: 116.3 MB / 0.9726 GB, free: 68.11 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.171/5.766, allocations: 3.155 GB / 4.128 GB, free: 53.64 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/5.766, allocations: 105 kB / 4.128 GB, free: 53.58 MB / 0.9636 GB Notification: Performance of FrontEnd: time 30.52/36.29, allocations: 10.53 GB / 14.66 GB, free: 81.86 MB / 1.62 GB Notification: Performance of Transformations before backend: time 0.002832/36.29, allocations: 0.5444 MB / 14.66 GB, free: 81.75 MB / 1.62 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.04045/36.33, allocations: 17.67 MB / 14.68 GB, free: 73.84 MB / 1.62 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/36.33, allocations: 7.812 kB / 14.68 GB, free: 73.84 MB / 1.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/36.34, allocations: 2.644 MB / 14.68 GB, free: 72.8 MB / 1.62 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03623/36.38, allocations: 20.4 MB / 14.7 GB, free: 70.34 MB / 1.62 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003245/36.38, allocations: 397.3 kB / 14.7 GB, free: 70.34 MB / 1.62 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001827/36.38, allocations: 0.7856 MB / 14.7 GB, free: 70.34 MB / 1.62 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01454/36.4, allocations: 8.11 MB / 14.71 GB, free: 70.29 MB / 1.62 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01669/36.41, allocations: 11.49 MB / 14.72 GB, free: 68.17 MB / 1.62 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002409/36.41, allocations: 36.34 kB / 14.72 GB, free: 68.17 MB / 1.62 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008533/36.42, allocations: 23 kB / 14.72 GB, free: 68.17 MB / 1.62 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/36.42, allocations: 342.8 kB / 14.72 GB, free: 68.17 MB / 1.62 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1159/36.53, allocations: 102.2 MB / 14.82 GB, free: 28.29 MB / 1.635 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005411/36.54, allocations: 4.344 MB / 14.83 GB, free: 27.62 MB / 1.635 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002375/36.54, allocations: 2.264 MB / 14.83 GB, free: 27.39 MB / 1.635 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0622/36.6, allocations: 43.95 MB / 14.87 GB, free: 25.63 MB / 1.667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/36.6, allocations: 117.6 kB / 14.87 GB, free: 25.59 MB / 1.667 GB Notification: Performance of pre-optimization done (n=423): time 6.472e-06/36.6, allocations: 0 / 14.87 GB, free: 25.59 MB / 1.667 GB Notification: Performance of matching and sorting (n=423): time 0.01361/36.62, allocations: 5.421 MB / 14.88 GB, free: 24.84 MB / 1.667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002808/36.62, allocations: 0.7923 MB / 14.88 GB, free: 23.92 MB / 1.667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01331/36.63, allocations: 9.188 MB / 14.89 GB, free: 23.23 MB / 1.667 GB Notification: Performance of collectPreVariables (initialization): time 0.0008687/36.63, allocations: 57.52 kB / 14.89 GB, free: 23.2 MB / 1.667 GB Notification: Performance of collectInitialEqns (initialization): time 0.004191/36.63, allocations: 5.572 MB / 14.89 GB, free: 19.98 MB / 1.667 GB Notification: Performance of collectInitialBindings (initialization): time 0.003403/36.64, allocations: 1.422 MB / 14.89 GB, free: 19.04 MB / 1.667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/36.64, allocations: 0 / 14.89 GB, free: 19.04 MB / 1.667 GB Notification: Performance of setup shared object (initialization): time 0.0002903/36.64, allocations: 0.5177 MB / 14.89 GB, free: 18.72 MB / 1.667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002509/36.64, allocations: 1.774 MB / 14.9 GB, free: 18.71 MB / 1.667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003917/36.64, allocations: 5.32 MB / 14.9 GB, free: 14.39 MB / 1.667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006934/36.65, allocations: 3.349 MB / 14.9 GB, free: 14.22 MB / 1.667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.633e-05/36.65, allocations: 18.97 kB / 14.9 GB, free: 14.22 MB / 1.667 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01511/36.67, allocations: 7.298 MB / 14.91 GB, free: 13.45 MB / 1.667 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/36.67, allocations: 3.656 kB / 14.91 GB, free: 13.45 MB / 1.667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.513e-05/36.67, allocations: 67.56 kB / 14.91 GB, free: 13.45 MB / 1.667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.249e-05/36.67, allocations: 108.1 kB / 14.91 GB, free: 13.45 MB / 1.667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004004/36.67, allocations: 1.335 MB / 14.91 GB, free: 13.45 MB / 1.667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.568e-05/36.67, allocations: 142.9 kB / 14.91 GB, free: 13.45 MB / 1.667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008863/36.68, allocations: 0.9212 MB / 14.91 GB, free: 13.09 MB / 1.667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006284/36.68, allocations: 408.9 kB / 14.91 GB, free: 13.09 MB / 1.667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (730): * Single equations (assignments): 730 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001/36.68, allocations: 355.9 kB / 14.91 GB, free: 12.93 MB / 1.667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002781/36.68, allocations: 1.357 MB / 14.92 GB, free: 12.27 MB / 1.667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/36.7, allocations: 7.094 MB / 14.92 GB, free: 11.86 MB / 1.667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.646e-05/36.7, allocations: 78.58 kB / 14.92 GB, free: 11.86 MB / 1.667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/36.7, allocations: 9 kB / 14.92 GB, free: 11.86 MB / 1.667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004621/36.7, allocations: 3.868 MB / 14.93 GB, free: 10.09 MB / 1.667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04178/36.74, allocations: 28.07 MB / 14.95 GB, free: 6.141 MB / 1.667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.924e-05/36.74, allocations: 30.94 kB / 14.95 GB, free: 6.141 MB / 1.667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002712/36.75, allocations: 0.7711 MB / 14.95 GB, free: 6.086 MB / 1.667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.074e-05/36.75, allocations: 57.59 kB / 14.95 GB, free: 6.086 MB / 1.667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002617/36.75, allocations: 100.5 kB / 14.95 GB, free: 6.086 MB / 1.667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.666e-05/36.75, allocations: 77.91 kB / 14.95 GB, free: 6.066 MB / 1.667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.63e-05/36.75, allocations: 49.5 kB / 14.96 GB, free: 6.055 MB / 1.667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02113/36.77, allocations: 23.16 MB / 14.98 GB, free: 5.598 MB / 1.682 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006697/36.78, allocations: 2.379 MB / 14.98 GB, free: 4.762 MB / 1.682 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003123/36.78, allocations: 57.59 kB / 14.98 GB, free: 4.762 MB / 1.682 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007528/36.79, allocations: 406.8 kB / 14.98 GB, free: 4.68 MB / 1.682 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004079/36.79, allocations: 361.4 kB / 14.98 GB, free: 4.625 MB / 1.682 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005528/36.79, allocations: 256.7 kB / 14.98 GB, free: 4.625 MB / 1.682 GB Notification: Performance of sort global known variables: time 0.0125/36.8, allocations: 6.987 MB / 14.99 GB, free: 4.27 MB / 1.682 GB Notification: Performance of remove unused functions: time 0.02375/36.82, allocations: 6.644 MB / 14.99 GB, free: 3.137 MB / 1.682 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 149 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (483): * Single equations (assignments): 419 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03823/36.86, allocations: 21.39 MB / 15.02 GB, free: 4.66 MB / 1.698 GB Notification: Performance of simCode: created initialization part: time 0.009128/36.87, allocations: 5.029 MB / 15.02 GB, free: 4.375 MB / 1.698 GB Notification: Performance of simCode: created event and clocks part: time 3.037e-05/36.87, allocations: 7.562 kB / 15.02 GB, free: 4.375 MB / 1.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00403/36.88, allocations: 2.499 MB / 15.02 GB, free: 4.215 MB / 1.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0276/36.9, allocations: 5.336 MB / 15.03 GB, free: 3.883 MB / 1.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0492/36.95, allocations: 20.67 MB / 15.05 GB, free: 13.29 MB / 1.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01415/36.97, allocations: 8.588 MB / 15.06 GB, free: 12.06 MB / 1.714 GB Notification: Performance of SimCode: time 6.41e-07/36.97, allocations: 0 / 15.06 GB, free: 12.06 MB / 1.714 GB Notification: Performance of Templates: time 0.9966/37.96, allocations: 274.1 MB / 15.32 GB, free: 428.7 MB / 1.745 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)