Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") [: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.505/1.505, allocations: 285.5 MB / 292.8 MB, free: 0.7227 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 178.2 kB / 361.1 MB, free: 15.28 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.2 MB / 0.6195 GB, free: 5.863 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 87.39 kB / 0.7325 GB, free: 47.11 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 6.773e-06/6.803e-06, allocations: 0 / 0.8511 GB, free: 12.8 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8367/0.8367, allocations: 115.3 MB / 0.9637 GB, free: 85.66 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.896/5.733, allocations: 2.347 GB / 3.311 GB, free: 143.8 MB / 0.9403 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/5.733, allocations: 96.66 kB / 3.311 GB, free: 143.7 MB / 0.9403 GB Notification: Performance of FrontEnd: time 0.1311/5.865, allocations: 63.63 MB / 3.373 GB, free: 79.84 MB / 0.9403 GB Notification: Performance of Transformations before backend: time 0.0001591/5.865, allocations: 20 kB / 3.373 GB, free: 79.82 MB / 0.9403 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002641/5.867, allocations: 1.233 MB / 3.374 GB, free: 78.54 MB / 0.9403 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/5.868, allocations: 8.031 kB / 3.374 GB, free: 78.53 MB / 0.9403 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004309/5.868, allocations: 134.3 kB / 3.374 GB, free: 78.4 MB / 0.9403 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00348/5.871, allocations: 1.447 MB / 3.376 GB, free: 76.9 MB / 0.9403 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/5.872, allocations: 66.62 kB / 3.376 GB, free: 76.83 MB / 0.9403 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/5.872, allocations: 32 kB / 3.376 GB, free: 76.8 MB / 0.9403 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006287/5.872, allocations: 321.9 kB / 3.376 GB, free: 76.48 MB / 0.9403 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006456/5.873, allocations: 417 kB / 3.376 GB, free: 76.06 MB / 0.9403 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/5.873, allocations: 0 / 3.376 GB, free: 76.06 MB / 0.9403 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/5.873, allocations: 0 / 3.376 GB, free: 76.06 MB / 0.9403 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/5.873, allocations: 15.91 kB / 3.376 GB, free: 76.04 MB / 0.9403 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/5.876, allocations: 2.47 MB / 3.379 GB, free: 73.38 MB / 0.9403 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/5.877, allocations: 265.1 kB / 3.379 GB, free: 73.12 MB / 0.9403 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/5.877, allocations: 237.4 kB / 3.379 GB, free: 72.89 MB / 0.9403 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/5.877, allocations: 8.312 kB / 3.379 GB, free: 72.88 MB / 0.9403 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/5.877, allocations: 239.3 kB / 3.38 GB, free: 72.63 MB / 0.9403 GB Notification: Performance of pre-optimization done (n=45): time 1.863e-06/5.877, allocations: 4 kB / 3.38 GB, free: 72.63 MB / 0.9403 GB Notification: Performance of matching and sorting (n=45): time 0.001134/5.879, allocations: 0.5646 MB / 3.38 GB, free: 72.05 MB / 0.9403 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/5.879, allocations: 59.41 kB / 3.38 GB, free: 71.98 MB / 0.9403 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/5.881, allocations: 1.455 MB / 3.382 GB, free: 70.52 MB / 0.9403 GB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/5.881, allocations: 33.69 kB / 3.382 GB, free: 70.48 MB / 0.9403 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/5.881, allocations: 294.1 kB / 3.382 GB, free: 70.18 MB / 0.9403 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/5.881, allocations: 145.9 kB / 3.382 GB, free: 70.04 MB / 0.9403 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/5.881, allocations: 0 / 3.382 GB, free: 70.04 MB / 0.9403 GB Notification: Performance of setup shared object (initialization): time 5.707e-05/5.881, allocations: 326 kB / 3.382 GB, free: 69.71 MB / 0.9403 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/5.881, allocations: 157.3 kB / 3.382 GB, free: 69.56 MB / 0.9403 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/5.882, allocations: 260.6 kB / 3.383 GB, free: 69.27 MB / 0.9403 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/5.882, allocations: 183.1 kB / 3.383 GB, free: 69.09 MB / 0.9403 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/5.882, allocations: 0 / 3.383 GB, free: 69.09 MB / 0.9403 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001101/5.883, allocations: 0.6745 MB / 3.384 GB, free: 68.41 MB / 0.9403 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/5.883, allocations: 4.938 kB / 3.384 GB, free: 68.4 MB / 0.9403 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/5.883, allocations: 4 kB / 3.384 GB, free: 68.4 MB / 0.9403 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004616/5.884, allocations: 158.5 kB / 3.384 GB, free: 68.24 MB / 0.9403 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/5.884, allocations: 104.4 kB / 3.384 GB, free: 68.14 MB / 0.9403 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/5.887, allocations: 2.44 MB / 3.386 GB, free: 65.59 MB / 0.9403 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/5.887, allocations: 79.55 kB / 3.386 GB, free: 65.51 MB / 0.9403 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/5.887, allocations: 23.94 kB / 3.386 GB, free: 65.49 MB / 0.9403 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001438/5.888, allocations: 133.2 kB / 3.386 GB, free: 65.36 MB / 0.9403 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/5.888, allocations: 114.6 kB / 3.387 GB, free: 65.24 MB / 0.9403 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/5.889, allocations: 0.6279 MB / 3.387 GB, free: 64.59 MB / 0.9403 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/5.889, allocations: 8 kB / 3.387 GB, free: 64.59 MB / 0.9403 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/5.889, allocations: 3.906 kB / 3.387 GB, free: 64.58 MB / 0.9403 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/5.889, allocations: 0 / 3.387 GB, free: 64.58 MB / 0.9403 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/5.891, allocations: 1.59 MB / 3.389 GB, free: 62.95 MB / 0.9403 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/5.891, allocations: 4 kB / 3.389 GB, free: 62.94 MB / 0.9403 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/5.892, allocations: 55.91 kB / 3.389 GB, free: 62.89 MB / 0.9403 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004367/5.892, allocations: 170.5 kB / 3.389 GB, free: 62.71 MB / 0.9403 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/5.892, allocations: 4 kB / 3.389 GB, free: 62.71 MB / 0.9403 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003286/5.895, allocations: 3.742 MB / 3.393 GB, free: 58.74 MB / 0.9403 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/5.896, allocations: 64 / 3.393 GB, free: 58.74 MB / 0.9403 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001321/5.897, allocations: 0.9004 MB / 3.393 GB, free: 57.82 MB / 0.9403 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/5.897, allocations: 299.8 kB / 3.394 GB, free: 57.51 MB / 0.9403 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/5.898, allocations: 12 kB / 3.394 GB, free: 57.5 MB / 0.9403 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/5.898, allocations: 39.88 kB / 3.394 GB, free: 57.46 MB / 0.9403 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/5.898, allocations: 44.92 kB / 3.394 GB, free: 57.41 MB / 0.9403 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/5.898, allocations: 15.98 kB / 3.394 GB, free: 57.4 MB / 0.9403 GB Notification: Performance of sort global known variables: time 0.001344/5.899, allocations: 1.147 MB / 3.395 GB, free: 56.25 MB / 0.9403 GB Notification: Performance of remove unused functions: time 0.001076/5.901, allocations: 283.5 kB / 3.395 GB, free: 55.97 MB / 0.9403 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {(2,100.0%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001361/5.902, allocations: 0.931 MB / 3.396 GB, free: 55.11 MB / 0.9403 GB Notification: Performance of simCode: created initialization part: time 0.000989/5.903, allocations: 0.548 MB / 3.397 GB, free: 54.55 MB / 0.9403 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/5.903, allocations: 0 / 3.397 GB, free: 54.55 MB / 0.9403 GB Notification: Performance of simCode: created simulation system equations: time 0.0006791/5.904, allocations: 461.7 kB / 3.397 GB, free: 54.08 MB / 0.9403 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009223/5.905, allocations: 169.1 kB / 3.397 GB, free: 53.92 MB / 0.9403 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/5.908, allocations: 2.017 MB / 3.399 GB, free: 51.86 MB / 0.9403 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000789/5.909, allocations: 1.227 MB / 3.4 GB, free: 50.61 MB / 0.9403 GB Notification: Performance of SimCode: time 1.122e-06/5.909, allocations: 0 / 3.4 GB, free: 50.61 MB / 0.9403 GB Notification: Performance of Templates: time 0.02296/5.932, allocations: 13.67 MB / 3.414 GB, free: 37.02 MB / 0.9403 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)