Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") [: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.0.1-maint.8.0.x/package.mo): time 1.519/1.519, allocations: 285.5 MB / 292.8 MB, free: 10.39 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.001268/0.001268, allocations: 189.2 kB / 361.1 MB, free: 7.051 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.496/1.496, allocations: 205.1 MB / 0.6195 GB, free: 11.9 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.0008983/0.0008981, allocations: 96.45 kB / 0.7326 GB, free: 44.44 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.293e-06/7.303e-06, allocations: 0 / 0.8511 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5136/0.5136, allocations: 115.3 MB / 0.9637 GB, free: 77.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.05/4.564, allocations: 2.349 GB / 3.313 GB, free: 142 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/4.564, allocations: 90.91 kB / 3.313 GB, free: 141.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.1571/4.721, allocations: 73.84 MB / 3.385 GB, free: 67.91 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002818/4.722, allocations: 43.98 kB / 3.385 GB, free: 67.87 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.00434/4.726, allocations: 1.865 MB / 3.387 GB, free: 65.95 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/4.726, allocations: 8.531 kB / 3.387 GB, free: 65.94 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007926/4.727, allocations: 241 kB / 3.387 GB, free: 65.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00482/4.732, allocations: 1.879 MB / 3.389 GB, free: 63.76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/4.732, allocations: 71 kB / 3.389 GB, free: 63.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/4.732, allocations: 44 kB / 3.389 GB, free: 63.64 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001233/4.733, allocations: 0.518 MB / 3.39 GB, free: 63.12 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/4.735, allocations: 0.6414 MB / 3.39 GB, free: 62.46 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/4.735, allocations: 0 / 3.39 GB, free: 62.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/4.735, allocations: 4 kB / 3.39 GB, free: 62.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/4.735, allocations: 16 kB / 3.39 GB, free: 62.45 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00592/4.741, allocations: 3.628 MB / 3.394 GB, free: 58.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007859/4.741, allocations: 417.5 kB / 3.394 GB, free: 58.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005591/4.742, allocations: 362.7 kB / 3.395 GB, free: 57.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/4.742, allocations: 12.66 kB / 3.395 GB, free: 57.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000519/4.743, allocations: 355 kB / 3.395 GB, free: 57.43 MB / 0.948 GB Notification: Performance of pre-optimization done (n=72): time 2.705e-06/4.743, allocations: 0 / 3.395 GB, free: 57.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=72): time 0.001917/4.745, allocations: 0.9405 MB / 3.396 GB, free: 56.48 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/4.745, allocations: 60.06 kB / 3.396 GB, free: 56.41 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005378/4.75, allocations: 2.828 MB / 3.399 GB, free: 53.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/4.75, allocations: 33.7 kB / 3.399 GB, free: 53.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/4.75, allocations: 454.9 kB / 3.399 GB, free: 53.06 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/4.751, allocations: 228.7 kB / 3.399 GB, free: 52.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/4.751, allocations: 0 / 3.399 GB, free: 52.84 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.966e-05/4.751, allocations: 334 kB / 3.4 GB, free: 52.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/4.751, allocations: 249.9 kB / 3.4 GB, free: 52.26 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/4.752, allocations: 397.8 kB / 3.4 GB, free: 51.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/4.752, allocations: 296.1 kB / 3.401 GB, free: 51.54 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/4.752, allocations: 0 / 3.401 GB, free: 51.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001932/4.754, allocations: 1.074 MB / 3.402 GB, free: 50.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/4.754, allocations: 7.906 kB / 3.402 GB, free: 50.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/4.754, allocations: 4 kB / 3.402 GB, free: 50.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007994/4.755, allocations: 265.3 kB / 3.402 GB, free: 50.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/4.755, allocations: 151.8 kB / 3.402 GB, free: 50.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004653/4.76, allocations: 4.337 MB / 3.406 GB, free: 45.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/4.761, allocations: 99.42 kB / 3.406 GB, free: 45.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.105e-05/4.761, allocations: 28 kB / 3.406 GB, free: 45.34 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.outdoorTemp.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(3,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001788/4.761, allocations: 143.8 kB / 3.406 GB, free: 45.19 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004343/4.762, allocations: 205.4 kB / 3.407 GB, free: 44.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/4.764, allocations: 1.049 MB / 3.408 GB, free: 43.92 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/4.764, allocations: 11.98 kB / 3.408 GB, free: 43.91 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/4.764, allocations: 4 kB / 3.408 GB, free: 43.91 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/4.764, allocations: 3.984 kB / 3.408 GB, free: 43.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004506/4.768, allocations: 2.646 MB / 3.41 GB, free: 41.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/4.768, allocations: 0 / 3.41 GB, free: 41.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/4.769, allocations: 83.89 kB / 3.41 GB, free: 41.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006834/4.769, allocations: 265.5 kB / 3.411 GB, free: 40.86 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.529e-05/4.77, allocations: 7.984 kB / 3.411 GB, free: 40.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003969/4.773, allocations: 4.337 MB / 3.415 GB, free: 36.28 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/4.774, allocations: 0 / 3.415 GB, free: 36.28 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002147/4.776, allocations: 1.444 MB / 3.416 GB, free: 34.81 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008517/4.777, allocations: 0.4903 MB / 3.417 GB, free: 34.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/4.777, allocations: 7.984 kB / 3.417 GB, free: 34.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006762/4.778, allocations: 55.89 kB / 3.417 GB, free: 34.24 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/4.778, allocations: 64.55 kB / 3.417 GB, free: 34.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/4.778, allocations: 20 kB / 3.417 GB, free: 34.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003171/4.781, allocations: 2.228 MB / 3.419 GB, free: 31.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001709/4.783, allocations: 423.3 kB / 3.419 GB, free: 31.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001805/4.785, allocations: 0.9512 MB / 3.42 GB, free: 30.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001785/4.786, allocations: 0.9101 MB / 3.421 GB, free: 29.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/4.786, allocations: 3.938 kB / 3.421 GB, free: 29.69 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009141/4.787, allocations: 0.5985 MB / 3.422 GB, free: 29.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/4.789, allocations: 240 kB / 3.422 GB, free: 28.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006815/4.796, allocations: 3.633 MB / 3.426 GB, free: 25.15 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/4.798, allocations: 1.687 MB / 3.427 GB, free: 23.43 MB / 0.948 GB Notification: Performance of SimCode: time 1.352e-06/4.798, allocations: 0 / 3.427 GB, free: 23.43 MB / 0.948 GB Notification: Performance of Templates: time 0.03698/4.835, allocations: 19.81 MB / 3.447 GB, free: 3.715 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)