Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") [: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.7752/0.7752, allocations: 141.8 MB / 149.1 MB, free: 3.066 MB / 114.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 184.1 kB / 181.9 MB, free: 4.293 MB / 146.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.3 MB / 436 MB, free: 4.336 MB / 338.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009915/0.0009916, allocations: 99.33 kB / 0.507 GB, free: 2.355 MB / 386.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002188/0.002188, allocations: 266.9 kB / 0.5884 GB, free: 14.96 MB / 482.9 MB Notification: Performance of FrontEnd - loaded program: time 1.16e-05/1.163e-05, allocations: 4 kB / 0.6759 GB, free: 138.9 MB / 498.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2208, allocations: 82.78 MB / 0.7567 GB, free: 56.56 MB / 498.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.274/5.495, allocations: 2.148 GB / 2.904 GB, free: 47.83 MB / 0.6903 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/5.495, allocations: 96.33 kB / 2.904 GB, free: 47.74 MB / 0.6903 GB Notification: Performance of FrontEnd: time 0.4905/5.986, allocations: 64.15 MB / 2.967 GB, free: 221.1 MB / 0.6903 GB Notification: Performance of Transformations before backend: time 8.691e-05/5.986, allocations: 23 kB / 2.967 GB, free: 221.1 MB / 0.6903 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.001861/5.988, allocations: 1.235 MB / 2.968 GB, free: 220.4 MB / 0.6903 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/5.988, allocations: 9.656 kB / 2.968 GB, free: 220.4 MB / 0.6903 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/5.988, allocations: 132.1 kB / 2.968 GB, free: 220.3 MB / 0.6903 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/5.991, allocations: 1.46 MB / 2.97 GB, free: 220 MB / 0.6903 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/5.991, allocations: 64.95 kB / 2.97 GB, free: 219.9 MB / 0.6903 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.231e-05/5.991, allocations: 32.31 kB / 2.97 GB, free: 219.9 MB / 0.6903 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005772/5.992, allocations: 321.7 kB / 2.97 GB, free: 219.9 MB / 0.6903 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/5.993, allocations: 420.9 kB / 2.971 GB, free: 219.9 MB / 0.6903 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/5.993, allocations: 3 kB / 2.971 GB, free: 219.9 MB / 0.6903 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/5.993, allocations: 3 kB / 2.971 GB, free: 219.9 MB / 0.6903 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/5.993, allocations: 10.03 kB / 2.971 GB, free: 219.9 MB / 0.6903 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002822/5.996, allocations: 2.48 MB / 2.973 GB, free: 218.6 MB / 0.6903 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005121/5.996, allocations: 260 kB / 2.973 GB, free: 218.6 MB / 0.6903 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/5.996, allocations: 242.5 kB / 2.974 GB, free: 218.6 MB / 0.6903 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/5.997, allocations: 10.47 kB / 2.974 GB, free: 218.6 MB / 0.6903 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003666/5.997, allocations: 232 kB / 2.974 GB, free: 218.5 MB / 0.6903 GB Notification: Performance of pre-optimization done (n=45): time 2.295e-06/5.997, allocations: 0 / 2.974 GB, free: 218.5 MB / 0.6903 GB Notification: Performance of matching and sorting (n=45): time 0.001095/5.998, allocations: 0.5687 MB / 2.974 GB, free: 218.4 MB / 0.6903 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/5.998, allocations: 59.25 kB / 2.974 GB, free: 218.4 MB / 0.6903 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/6, allocations: 1.453 MB / 2.976 GB, free: 218.2 MB / 0.6903 GB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/6, allocations: 32.42 kB / 2.976 GB, free: 218.2 MB / 0.6903 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/6, allocations: 300 kB / 2.976 GB, free: 218 MB / 0.6903 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/6.001, allocations: 141.9 kB / 2.976 GB, free: 217.9 MB / 0.6903 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/6.001, allocations: 0 / 2.976 GB, free: 217.9 MB / 0.6903 GB Notification: Performance of setup shared object (initialization): time 8.181e-05/6.001, allocations: 330.9 kB / 2.977 GB, free: 217.6 MB / 0.6903 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/6.001, allocations: 152.9 kB / 2.977 GB, free: 217.6 MB / 0.6903 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/6.001, allocations: 255.6 kB / 2.977 GB, free: 217.5 MB / 0.6903 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/6.002, allocations: 179.3 kB / 2.977 GB, free: 217.5 MB / 0.6903 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/6.002, allocations: 7.094 kB / 2.977 GB, free: 217.5 MB / 0.6903 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001165/6.003, allocations: 0.671 MB / 2.978 GB, free: 217.4 MB / 0.6903 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/6.003, allocations: 2.906 kB / 2.978 GB, free: 217.4 MB / 0.6903 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/6.003, allocations: 3.062 kB / 2.978 GB, free: 217.4 MB / 0.6903 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005015/6.003, allocations: 157 kB / 2.978 GB, free: 217.4 MB / 0.6903 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/6.004, allocations: 107.5 kB / 2.978 GB, free: 217.4 MB / 0.6903 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/6.006, allocations: 2.459 MB / 2.98 GB, free: 216.1 MB / 0.6903 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/6.007, allocations: 73.92 kB / 2.981 GB, free: 216.1 MB / 0.6903 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/6.007, allocations: 18.41 kB / 2.981 GB, free: 216.1 MB / 0.6903 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.0001231/6.007, allocations: 135.9 kB / 2.981 GB, free: 216 MB / 0.6903 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/6.007, allocations: 112.2 kB / 2.981 GB, free: 215.9 MB / 0.6903 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/6.008, allocations: 0.6213 MB / 2.981 GB, free: 215.8 MB / 0.6903 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/6.008, allocations: 5.031 kB / 2.981 GB, free: 215.8 MB / 0.6903 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/6.008, allocations: 6.797 kB / 2.981 GB, free: 215.8 MB / 0.6903 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/6.008, allocations: 7.328 kB / 2.981 GB, free: 215.8 MB / 0.6903 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/6.011, allocations: 1.587 MB / 2.983 GB, free: 215.5 MB / 0.6903 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/6.011, allocations: 0 / 2.983 GB, free: 215.5 MB / 0.6903 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/6.011, allocations: 56.81 kB / 2.983 GB, free: 215.5 MB / 0.6903 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004036/6.011, allocations: 182.9 kB / 2.983 GB, free: 215.5 MB / 0.6903 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/6.011, allocations: 7.406 kB / 2.983 GB, free: 215.5 MB / 0.6903 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002985/6.014, allocations: 3.735 MB / 2.987 GB, free: 212.9 MB / 0.6903 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/6.014, allocations: 0 / 2.987 GB, free: 212.9 MB / 0.6903 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001387/6.016, allocations: 0.8956 MB / 2.988 GB, free: 212.6 MB / 0.6903 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/6.016, allocations: 300.8 kB / 2.988 GB, free: 212.4 MB / 0.6903 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/6.016, allocations: 7.328 kB / 2.988 GB, free: 212.4 MB / 0.6903 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/6.017, allocations: 40.86 kB / 2.988 GB, free: 212.4 MB / 0.6903 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/6.017, allocations: 45.59 kB / 2.988 GB, free: 212.4 MB / 0.6903 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/6.017, allocations: 18.61 kB / 2.988 GB, free: 212.4 MB / 0.6903 GB Notification: Performance of sort global known variables: time 0.001287/6.018, allocations: 1.147 MB / 2.989 GB, free: 211.9 MB / 0.6903 GB Notification: Performance of remove unused functions: time 0.001038/6.019, allocations: 284.7 kB / 2.99 GB, free: 211.9 MB / 0.6903 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.001573/6.021, allocations: 0.9357 MB / 2.99 GB, free: 211.6 MB / 0.6903 GB Notification: Performance of simCode: created initialization part: time 0.00113/6.022, allocations: 0.5498 MB / 2.991 GB, free: 211.4 MB / 0.6903 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/6.022, allocations: 0 / 2.991 GB, free: 211.4 MB / 0.6903 GB Notification: Performance of simCode: created simulation system equations: time 0.0007256/6.023, allocations: 463.8 kB / 2.991 GB, free: 211.1 MB / 0.6903 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/6.024, allocations: 163.2 kB / 2.992 GB, free: 211 MB / 0.6903 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/6.028, allocations: 2.018 MB / 2.994 GB, free: 210.3 MB / 0.6903 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/6.03, allocations: 1.227 MB / 2.995 GB, free: 209.6 MB / 0.6903 GB Notification: Performance of SimCode: time 6.61e-07/6.03, allocations: 0 / 2.995 GB, free: 209.6 MB / 0.6903 GB Notification: Performance of Templates: time 0.03482/6.064, allocations: 13.69 MB / 3.008 GB, free: 208.3 MB / 0.6903 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)