Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [: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.7307/0.7307, allocations: 141.8 MB / 149.1 MB, free: 13.19 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 183.8 kB / 181.9 MB, free: 9.867 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.3 MB / 436 MB, free: 2.277 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000953/0.0009531, allocations: 101.7 kB / 0.507 GB, free: 11.04 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001814/0.001814, allocations: 271.4 kB / 0.5884 GB, free: 7.883 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 6.782e-06/6.893e-06, allocations: 0 / 0.6759 GB, free: 14.23 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4817/0.4817, allocations: 82.77 MB / 0.7567 GB, free: 139.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.365/5.847, allocations: 2.148 GB / 2.905 GB, free: 165 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/5.847, allocations: 92.27 kB / 2.905 GB, free: 164.9 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.1364/5.984, allocations: 67.28 MB / 2.97 GB, free: 97.23 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.000272/5.984, allocations: 31.92 kB / 2.971 GB, free: 97.2 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003416/5.988, allocations: 1.377 MB / 2.972 GB, free: 95.77 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/5.988, allocations: 8.031 kB / 2.972 GB, free: 95.76 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007074/5.988, allocations: 165.9 kB / 2.972 GB, free: 95.6 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00415/5.992, allocations: 1.556 MB / 2.974 GB, free: 93.99 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/5.993, allocations: 66.67 kB / 2.974 GB, free: 93.92 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/5.993, allocations: 35.91 kB / 2.974 GB, free: 93.88 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008316/5.994, allocations: 345.9 kB / 2.974 GB, free: 93.55 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008577/5.995, allocations: 472.9 kB / 2.974 GB, free: 93.07 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/5.995, allocations: 0 / 2.974 GB, free: 93.07 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.954e-05/5.995, allocations: 4 kB / 2.974 GB, free: 93.07 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/5.995, allocations: 12 kB / 2.974 GB, free: 93.05 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004329/5.999, allocations: 2.701 MB / 2.977 GB, free: 90.14 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/6, allocations: 294.8 kB / 2.977 GB, free: 89.84 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004674/6, allocations: 266.6 kB / 2.978 GB, free: 89.58 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/6, allocations: 4.375 kB / 2.978 GB, free: 89.58 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004047/6.001, allocations: 252.4 kB / 2.978 GB, free: 89.32 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=52): time 4.148e-06/6.001, allocations: 0 / 2.978 GB, free: 89.32 MB / 0.6982 GB Notification: Performance of matching and sorting (n=52): time 0.001453/6.002, allocations: 0.6355 MB / 2.978 GB, free: 88.67 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/6.002, allocations: 59.84 kB / 2.979 GB, free: 88.6 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/6.005, allocations: 1.76 MB / 2.98 GB, free: 86.82 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.204e-05/6.005, allocations: 33.69 kB / 2.98 GB, free: 86.79 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/6.005, allocations: 331.2 kB / 2.981 GB, free: 86.46 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/6.006, allocations: 161.8 kB / 2.981 GB, free: 86.3 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/6.006, allocations: 4 kB / 2.981 GB, free: 86.29 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.79e-05/6.006, allocations: 329.9 kB / 2.981 GB, free: 85.96 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/6.006, allocations: 173.3 kB / 2.981 GB, free: 85.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/6.006, allocations: 276.6 kB / 2.982 GB, free: 85.48 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/6.007, allocations: 200.8 kB / 2.982 GB, free: 85.29 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/6.007, allocations: 4 kB / 2.982 GB, free: 85.29 MB / 0.6982 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00127/6.008, allocations: 0.721 MB / 2.982 GB, free: 84.56 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/6.008, allocations: 4 kB / 2.982 GB, free: 84.55 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/6.008, allocations: 8 kB / 2.982 GB, free: 84.55 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004822/6.008, allocations: 152.8 kB / 2.983 GB, free: 84.39 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/6.009, allocations: 127.8 kB / 2.983 GB, free: 84.27 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/6.012, allocations: 2.473 MB / 2.985 GB, free: 81.68 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007317/6.013, allocations: 80.16 kB / 2.985 GB, free: 81.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/6.013, allocations: 24 kB / 2.985 GB, free: 81.58 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 ($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_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001621/6.013, allocations: 135.3 kB / 2.985 GB, free: 81.44 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/6.013, allocations: 138.3 kB / 2.985 GB, free: 81.3 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/6.015, allocations: 0.6953 MB / 2.986 GB, free: 80.59 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/6.015, allocations: 4 kB / 2.986 GB, free: 80.59 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/6.015, allocations: 4 kB / 2.986 GB, free: 80.58 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/6.015, allocations: 3.984 kB / 2.986 GB, free: 80.58 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/6.018, allocations: 1.81 MB / 2.988 GB, free: 78.72 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/6.018, allocations: 0 / 2.988 GB, free: 78.72 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/6.018, allocations: 63.91 kB / 2.988 GB, free: 78.66 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/6.019, allocations: 177.1 kB / 2.988 GB, free: 78.48 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.517e-05/6.019, allocations: 15.98 kB / 2.988 GB, free: 78.46 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003453/6.022, allocations: 3.772 MB / 2.992 GB, free: 74.46 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/6.022, allocations: 0 / 2.992 GB, free: 74.46 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001578/6.024, allocations: 0.991 MB / 2.993 GB, free: 73.45 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006829/6.025, allocations: 343.5 kB / 2.993 GB, free: 73.09 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/6.025, allocations: 8 kB / 2.993 GB, free: 73.09 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005271/6.025, allocations: 47.88 kB / 2.993 GB, free: 73.04 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/6.025, allocations: 48.41 kB / 2.993 GB, free: 72.99 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/6.026, allocations: 19.98 kB / 2.993 GB, free: 72.97 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.002127/6.028, allocations: 1.392 MB / 2.995 GB, free: 71.58 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001353/6.029, allocations: 311.5 kB / 2.995 GB, free: 71.28 MB / 0.6982 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: 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_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * 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: 2 {(2,100.0%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001692/6.031, allocations: 0.9468 MB / 2.996 GB, free: 70.43 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001312/6.032, allocations: 0.6033 MB / 2.996 GB, free: 69.82 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/6.032, allocations: 0 / 2.996 GB, free: 69.82 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006992/6.033, allocations: 485.9 kB / 2.997 GB, free: 69.32 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/6.034, allocations: 191.4 kB / 2.997 GB, free: 69.14 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/6.039, allocations: 2.391 MB / 2.999 GB, free: 66.7 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/6.04, allocations: 1.319 MB / 3.001 GB, free: 65.36 MB / 0.6982 GB Notification: Performance of SimCode: time 1.042e-06/6.04, allocations: 0 / 3.001 GB, free: 65.36 MB / 0.6982 GB Notification: Performance of Templates: time 0.02996/6.07, allocations: 14.95 MB / 3.015 GB, free: 50.5 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)