Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12") [: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 7.0.1/package.mo): time 2.037/2.037, allocations: 253.1 MB / 260.4 MB, free: 7.547 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001666/0.001666, allocations: 181.2 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.882/1.882, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001376/0.001376, allocations: 87.31 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.003e-05/1.019e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2277, allocations: 106.3 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.286/6.514, allocations: 2.469 GB / 3.357 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/6.514, allocations: 99.23 kB / 3.357 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.6185/7.132, allocations: 187.7 MB / 3.541 GB, free: 42.18 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003552/7.133, allocations: 59.92 kB / 3.541 GB, free: 42.12 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.006139/7.139, allocations: 2.278 MB / 3.543 GB, free: 39.77 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/7.139, allocations: 12.03 kB / 3.543 GB, free: 39.76 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/7.14, allocations: 300.2 kB / 3.543 GB, free: 39.46 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008761/7.149, allocations: 2.436 MB / 3.546 GB, free: 36.97 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/7.149, allocations: 83.69 kB / 3.546 GB, free: 36.88 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/7.15, allocations: 60 kB / 3.546 GB, free: 36.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002377/7.152, allocations: 0.7146 MB / 3.546 GB, free: 36.11 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/7.155, allocations: 0.8852 MB / 3.547 GB, free: 35.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.724e-05/7.155, allocations: 7.938 kB / 3.547 GB, free: 35.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/7.155, allocations: 8 kB / 3.547 GB, free: 35.19 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/7.155, allocations: 20 kB / 3.547 GB, free: 35.17 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/7.166, allocations: 4.447 MB / 3.552 GB, free: 30.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/7.168, allocations: 0.5649 MB / 3.552 GB, free: 29.93 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/7.17, allocations: 441.5 kB / 3.553 GB, free: 29.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005281/7.17, allocations: 0.5111 MB / 3.553 GB, free: 28.88 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/7.172, allocations: 452.3 kB / 3.554 GB, free: 28.43 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=92): time 5.27e-06/7.172, allocations: 0 / 3.554 GB, free: 28.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=92): time 0.003948/7.176, allocations: 1.107 MB / 3.555 GB, free: 27.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/7.176, allocations: 68.17 kB / 3.555 GB, free: 27.22 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009812/7.185, allocations: 3.302 MB / 3.558 GB, free: 23.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002757/7.186, allocations: 37.62 kB / 3.558 GB, free: 23.86 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006975/7.187, allocations: 0.5597 MB / 3.559 GB, free: 23.29 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004578/7.187, allocations: 291.8 kB / 3.559 GB, free: 23 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/7.187, allocations: 0 / 3.559 GB, free: 23 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.871e-05/7.187, allocations: 341.9 kB / 3.559 GB, free: 22.66 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008343/7.188, allocations: 301.9 kB / 3.559 GB, free: 22.36 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009231/7.189, allocations: 492 kB / 3.56 GB, free: 21.82 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/7.19, allocations: 384.3 kB / 3.56 GB, free: 21.44 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/7.19, allocations: 4 kB / 3.56 GB, free: 21.44 MB / 0.8698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003737/7.194, allocations: 1.245 MB / 3.561 GB, free: 20.18 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/7.194, allocations: 4 kB / 3.562 GB, free: 20.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/7.194, allocations: 4 kB / 3.562 GB, free: 20.17 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009426/7.195, allocations: 217.8 kB / 3.562 GB, free: 19.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/7.196, allocations: 187.6 kB / 3.562 GB, free: 19.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009804/7.206, allocations: 3.977 MB / 3.566 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003178/7.209, allocations: 115.4 kB / 3.566 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004631/7.21, allocations: 36 kB / 3.566 GB, free: 15.41 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.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,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 104 * 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 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004889/7.21, allocations: 153.4 kB / 3.566 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/7.212, allocations: 248.8 kB / 3.566 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004755/7.216, allocations: 1.297 MB / 3.568 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/7.217, allocations: 16 kB / 3.568 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/7.217, allocations: 7.906 kB / 3.568 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00287/7.219, allocations: 1.163 MB / 3.569 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009214/7.229, allocations: 3.242 MB / 3.572 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/7.229, allocations: 8.047 kB / 3.572 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/7.23, allocations: 119.9 kB / 3.572 GB, free: 9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/7.231, allocations: 250.4 kB / 3.572 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/7.231, allocations: 11.98 kB / 3.572 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006179/7.237, allocations: 4.543 MB / 3.577 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/7.237, allocations: 3.938 kB / 3.577 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00514/7.243, allocations: 1.848 MB / 3.579 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001894/7.244, allocations: 0.5913 MB / 3.579 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005647/7.245, allocations: 16 kB / 3.579 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/7.246, allocations: 63.88 kB / 3.579 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/7.247, allocations: 84.77 kB / 3.579 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/7.247, allocations: 35.98 kB / 3.579 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.3286/7.576, allocations: 2.594 MB / 3.582 GB, free: 308 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003316/7.579, allocations: 0.5824 MB / 3.582 GB, free: 308 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002738/7.582, allocations: 1.164 MB / 3.584 GB, free: 307.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003089/7.585, allocations: 1.073 MB / 3.585 GB, free: 307.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/7.585, allocations: 0 / 3.585 GB, free: 307.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001961/7.587, allocations: 0.6989 MB / 3.585 GB, free: 307.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00454/7.591, allocations: 430.1 kB / 3.586 GB, free: 307.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/7.605, allocations: 4.468 MB / 3.59 GB, free: 306.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005307/7.61, allocations: 1.942 MB / 3.592 GB, free: 306 MB / 0.8698 GB Notification: Performance of SimCode: time 1.603e-06/7.61, allocations: 0 / 3.592 GB, free: 306 MB / 0.8698 GB Notification: Performance of Templates: time 0.08224/7.693, allocations: 27.22 MB / 3.619 GB, free: 305.2 MB / 0.8698 GB