Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.172/2.172, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001627/0.001627, allocations: 177.2 kB / 360.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.1 MB / 0.6188 GB, free: 13.26 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001266/0.001265, allocations: 87.45 kB / 0.7318 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.416e-06/8.526e-06, allocations: 0 / 0.8502 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6009/0.601, allocations: 115.2 MB / 0.9628 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.137/5.738, allocations: 2.35 GB / 3.313 GB, free: 101.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/5.739, allocations: 97.28 kB / 3.313 GB, free: 101.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.2335/5.972, allocations: 69.53 MB / 3.381 GB, free: 38.13 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001675/5.972, allocations: 35.88 kB / 3.381 GB, free: 38.1 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.003649/5.976, allocations: 1.51 MB / 3.383 GB, free: 36.54 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/5.976, allocations: 8.031 kB / 3.383 GB, free: 36.53 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000646/5.977, allocations: 189.6 kB / 3.383 GB, free: 36.34 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005566/5.982, allocations: 1.662 MB / 3.385 GB, free: 34.63 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/5.983, allocations: 74.91 kB / 3.385 GB, free: 34.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/5.983, allocations: 40 kB / 3.385 GB, free: 34.51 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001363/5.984, allocations: 434.5 kB / 3.385 GB, free: 34.09 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/5.986, allocations: 0.591 MB / 3.386 GB, free: 33.47 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/5.986, allocations: 0 / 3.386 GB, free: 33.47 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.6e-05/5.986, allocations: 7.984 kB / 3.386 GB, free: 33.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/5.986, allocations: 12.66 kB / 3.386 GB, free: 33.45 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006208/5.992, allocations: 3.305 MB / 3.389 GB, free: 29.92 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/5.994, allocations: 0.554 MB / 3.389 GB, free: 29.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007906/5.994, allocations: 314.3 kB / 3.39 GB, free: 29.05 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.811e-05/5.995, allocations: 4.5 kB / 3.39 GB, free: 29.05 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000717/5.995, allocations: 310.8 kB / 3.39 GB, free: 28.74 MB / 0.948 GB Notification: Performance of pre-optimization done (n=63): time 3.266e-06/5.995, allocations: 0 / 3.39 GB, free: 28.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=63): time 0.002783/5.998, allocations: 0.8163 MB / 3.391 GB, free: 27.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/5.998, allocations: 111.5 kB / 3.391 GB, free: 27.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00442/6.003, allocations: 1.874 MB / 3.393 GB, free: 25.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/6.003, allocations: 25.7 kB / 3.393 GB, free: 25.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/6.003, allocations: 379.6 kB / 3.393 GB, free: 25.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/6.003, allocations: 193.2 kB / 3.393 GB, free: 25.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/6.003, allocations: 0.9375 kB / 3.393 GB, free: 25.29 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.812e-05/6.003, allocations: 337.9 kB / 3.394 GB, free: 24.96 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/6.004, allocations: 197.5 kB / 3.394 GB, free: 24.76 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006091/6.005, allocations: 342 kB / 3.394 GB, free: 24.38 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/6.005, allocations: 241.4 kB / 3.394 GB, free: 24.14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/6.005, allocations: 0 / 3.394 GB, free: 24.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002913/6.008, allocations: 0.9173 MB / 3.395 GB, free: 23.21 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/6.008, allocations: 4 kB / 3.395 GB, free: 23.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/6.008, allocations: 4.188 kB / 3.395 GB, free: 23.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/6.009, allocations: 243.3 kB / 3.396 GB, free: 22.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007613/6.01, allocations: 117 kB / 3.396 GB, free: 22.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006216/6.017, allocations: 3.072 MB / 3.399 GB, free: 19.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/6.018, allocations: 91.41 kB / 3.399 GB, free: 19.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.702e-05/6.018, allocations: 27.98 kB / 3.399 GB, free: 19.55 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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: 0 * Non-linear torn systems: 1 {2 25} Notification: Performance of prepare postOptimizeDAE: time 0.0002137/6.018, allocations: 128.8 kB / 3.399 GB, free: 19.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/6.018, allocations: 154 kB / 3.399 GB, free: 19.27 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002908/6.021, allocations: 0.8894 MB / 3.4 GB, free: 18.35 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/6.021, allocations: 8 kB / 3.4 GB, free: 18.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/6.021, allocations: 7.984 kB / 3.4 GB, free: 18.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/6.021, allocations: 3.984 kB / 3.4 GB, free: 18.33 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004832/6.026, allocations: 1.995 MB / 3.402 GB, free: 16.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/6.026, allocations: 0 / 3.402 GB, free: 16.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005506/6.027, allocations: 63.91 kB / 3.402 GB, free: 16.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/6.028, allocations: 266.5 kB / 3.402 GB, free: 15.96 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-05/6.028, allocations: 11.98 kB / 3.402 GB, free: 15.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006885/6.035, allocations: 4.214 MB / 3.406 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/6.035, allocations: 3.906 kB / 3.406 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003476/6.039, allocations: 1.243 MB / 3.408 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/6.04, allocations: 374.9 kB / 3.408 GB, free: 9.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003493/6.04, allocations: 11.98 kB / 3.408 GB, free: 9.828 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009566/6.041, allocations: 51.95 kB / 3.408 GB, free: 9.777 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/6.041, allocations: 56.47 kB / 3.408 GB, free: 9.723 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/6.041, allocations: 23.98 kB / 3.408 GB, free: 9.699 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00282/6.044, allocations: 1.455 MB / 3.409 GB, free: 8.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001863/6.046, allocations: 355.4 kB / 3.41 GB, free: 7.902 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,conHeaCoo.I.y,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.001881/6.048, allocations: 0.9489 MB / 3.411 GB, free: 7.086 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002104/6.05, allocations: 0.6983 MB / 3.411 GB, free: 6.379 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/6.05, allocations: 0 / 3.411 GB, free: 6.379 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001616/6.052, allocations: 0.5712 MB / 3.412 GB, free: 5.789 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/6.054, allocations: 212.6 kB / 3.412 GB, free: 5.582 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007853/6.062, allocations: 2.601 MB / 3.415 GB, free: 2.941 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/6.064, allocations: 1.406 MB / 3.416 GB, free: 1.508 MB / 0.948 GB Notification: Performance of SimCode: time 1.553e-06/6.064, allocations: 0 / 3.416 GB, free: 1.508 MB / 0.948 GB Notification: Performance of Templates: time 0.3559/6.42, allocations: 18.31 MB / 3.434 GB, free: 372.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)