Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.8104/0.8104, allocations: 141.8 MB / 149.1 MB, free: 12.71 MB / 130.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 188.3 kB / 182 MB, free: 13.17 MB / 162.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 221.3 MB / 436 MB, free: 0.6836 MB / 322.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 92.67 kB / 0.507 GB, free: 13.58 MB / 418.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001753, allocations: 284 kB / 0.5885 GB, free: 57.98 MB / 418.9 MB Notification: Performance of FrontEnd - loaded program: time 9.527e-06/9.558e-06, allocations: 4 kB / 0.6759 GB, free: 384 kB / 450.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5474/0.5474, allocations: 82.77 MB / 0.7567 GB, free: 35.3 MB / 466.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.613/6.161, allocations: 2.148 GB / 2.904 GB, free: 172.2 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/6.161, allocations: 91.94 kB / 2.904 GB, free: 172.1 MB / 0.7059 GB Notification: Performance of FrontEnd: time 0.1302/6.291, allocations: 64.17 MB / 2.967 GB, free: 107.4 MB / 0.7059 GB Notification: Performance of Transformations before backend: time 8.794e-05/6.292, allocations: 28.17 kB / 2.967 GB, free: 107.4 MB / 0.7059 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001849/6.293, allocations: 1.229 MB / 2.968 GB, free: 106.1 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/6.293, allocations: 8.031 kB / 2.968 GB, free: 106.1 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/6.294, allocations: 138.3 kB / 2.968 GB, free: 106 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002998/6.297, allocations: 1.459 MB / 2.97 GB, free: 104.5 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/6.297, allocations: 66.59 kB / 2.97 GB, free: 104.4 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/6.297, allocations: 28 kB / 2.97 GB, free: 104.4 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005762/6.297, allocations: 317.9 kB / 2.97 GB, free: 104.1 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006072/6.298, allocations: 425 kB / 2.971 GB, free: 103.6 MB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/6.298, allocations: 0 / 2.971 GB, free: 103.6 MB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/6.298, allocations: 3.984 kB / 2.971 GB, free: 103.6 MB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/6.298, allocations: 12 kB / 2.971 GB, free: 103.6 MB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002791/6.301, allocations: 2.477 MB / 2.973 GB, free: 100.9 MB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005015/6.302, allocations: 262.3 kB / 2.973 GB, free: 100.7 MB / 0.7059 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/6.302, allocations: 247 kB / 2.974 GB, free: 100.4 MB / 0.7059 GB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/6.302, allocations: 4.328 kB / 2.974 GB, free: 100.4 MB / 0.7059 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/6.302, allocations: 237.8 kB / 2.974 GB, free: 100.2 MB / 0.7059 GB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/6.302, allocations: 0 / 2.974 GB, free: 100.2 MB / 0.7059 GB Notification: Performance of matching and sorting (n=45): time 0.001014/6.303, allocations: 0.5686 MB / 2.974 GB, free: 99.61 MB / 0.7059 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/6.303, allocations: 59.39 kB / 2.974 GB, free: 99.54 MB / 0.7059 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/6.305, allocations: 1.451 MB / 2.976 GB, free: 98.08 MB / 0.7059 GB Notification: Performance of collectPreVariables (initialization): time 3.979e-05/6.305, allocations: 29.7 kB / 2.976 GB, free: 98.05 MB / 0.7059 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/6.305, allocations: 294.1 kB / 2.976 GB, free: 97.76 MB / 0.7059 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/6.306, allocations: 145.9 kB / 2.976 GB, free: 97.61 MB / 0.7059 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/6.306, allocations: 0 / 2.976 GB, free: 97.61 MB / 0.7059 GB Notification: Performance of setup shared object (initialization): time 6.035e-05/6.306, allocations: 326 kB / 2.977 GB, free: 97.29 MB / 0.7059 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/6.306, allocations: 157.7 kB / 2.977 GB, free: 97.13 MB / 0.7059 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/6.306, allocations: 256.6 kB / 2.977 GB, free: 96.84 MB / 0.7059 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/6.306, allocations: 181.3 kB / 2.977 GB, free: 96.67 MB / 0.7059 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/6.306, allocations: 0 / 2.977 GB, free: 96.67 MB / 0.7059 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009806/6.307, allocations: 0.6774 MB / 2.978 GB, free: 95.98 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/6.307, allocations: 8.031 kB / 2.978 GB, free: 95.98 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/6.307, allocations: 4 kB / 2.978 GB, free: 95.97 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004453/6.308, allocations: 144.8 kB / 2.978 GB, free: 95.83 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/6.308, allocations: 111.9 kB / 2.978 GB, free: 95.72 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/6.311, allocations: 2.461 MB / 2.981 GB, free: 93.14 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/6.311, allocations: 79.77 kB / 2.981 GB, free: 93.06 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/6.311, allocations: 20 kB / 2.981 GB, free: 93.04 MB / 0.7059 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_last,mean.y_last,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.0001511/6.311, allocations: 126.6 kB / 2.981 GB, free: 92.91 MB / 0.7059 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/6.312, allocations: 110.5 kB / 2.981 GB, free: 92.8 MB / 0.7059 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/6.313, allocations: 0.6289 MB / 2.981 GB, free: 92.16 MB / 0.7059 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/6.313, allocations: 4 kB / 2.981 GB, free: 92.16 MB / 0.7059 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/6.313, allocations: 7.906 kB / 2.981 GB, free: 92.15 MB / 0.7059 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/6.313, allocations: 4 kB / 2.981 GB, free: 92.15 MB / 0.7059 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/6.315, allocations: 1.583 MB / 2.983 GB, free: 90.52 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/6.315, allocations: 0 / 2.983 GB, free: 90.52 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/6.315, allocations: 55.97 kB / 2.983 GB, free: 90.46 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003993/6.316, allocations: 173.6 kB / 2.983 GB, free: 90.29 MB / 0.7059 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/6.316, allocations: 7.984 kB / 2.983 GB, free: 90.28 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002969/6.319, allocations: 3.737 MB / 2.987 GB, free: 86.31 MB / 0.7059 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/6.319, allocations: 0 / 2.987 GB, free: 86.31 MB / 0.7059 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001333/6.32, allocations: 0.8984 MB / 2.988 GB, free: 85.39 MB / 0.7059 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004171/6.32, allocations: 295.6 kB / 2.988 GB, free: 85.08 MB / 0.7059 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/6.321, allocations: 8 kB / 2.988 GB, free: 85.07 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/6.321, allocations: 39.88 kB / 2.988 GB, free: 85.04 MB / 0.7059 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/6.321, allocations: 40.36 kB / 2.988 GB, free: 85 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/6.321, allocations: 19.98 kB / 2.988 GB, free: 84.98 MB / 0.7059 GB Notification: Performance of sort global known variables: time 0.001497/6.323, allocations: 1.147 MB / 2.989 GB, free: 83.82 MB / 0.7059 GB Notification: Performance of remove unused functions: time 0.001323/6.324, allocations: 287.5 kB / 2.99 GB, free: 83.54 MB / 0.7059 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_last) * 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.001725/6.326, allocations: 0.9334 MB / 2.99 GB, free: 82.7 MB / 0.7059 GB Notification: Performance of simCode: created initialization part: time 0.001081/6.327, allocations: 0.5487 MB / 2.991 GB, free: 82.14 MB / 0.7059 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/6.327, allocations: 4.188 kB / 2.991 GB, free: 82.13 MB / 0.7059 GB Notification: Performance of simCode: created simulation system equations: time 0.0006616/6.328, allocations: 464.8 kB / 2.991 GB, free: 81.66 MB / 0.7059 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/6.329, allocations: 160.5 kB / 2.992 GB, free: 81.5 MB / 0.7059 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/6.333, allocations: 2.013 MB / 2.994 GB, free: 79.45 MB / 0.7059 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007813/6.333, allocations: 1.227 MB / 2.995 GB, free: 78.2 MB / 0.7059 GB Notification: Performance of SimCode: time 1.633e-06/6.333, allocations: 4 kB / 2.995 GB, free: 78.19 MB / 0.7059 GB Notification: Performance of Templates: time 0.02397/6.357, allocations: 13.69 MB / 3.008 GB, free: 64.57 MB / 0.7059 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)