Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") [: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.7905/0.7905, allocations: 141.8 MB / 149.1 MB, free: 13.02 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.001275/0.001276, allocations: 190.1 kB / 182 MB, free: 9.711 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.527/1.527, allocations: 221.3 MB / 436 MB, free: 2.215 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.001021/0.001021, allocations: 97.89 kB / 0.507 GB, free: 10.95 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001805/0.001804, allocations: 274.4 kB / 0.5884 GB, free: 7.773 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 9.167e-06/9.187e-06, allocations: 0 / 0.6759 GB, free: 14.13 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.63/0.63, allocations: 82.78 MB / 0.7567 GB, free: 139 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.002/5.632, allocations: 2.15 GB / 2.907 GB, free: 161.6 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/5.632, allocations: 91.77 kB / 2.907 GB, free: 161.5 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.1497/5.782, allocations: 74.48 MB / 2.979 GB, free: 86.52 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0002535/5.782, allocations: 47.92 kB / 2.979 GB, free: 86.48 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004109/5.787, allocations: 1.86 MB / 2.981 GB, free: 84.56 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/5.787, allocations: 11.97 kB / 2.981 GB, free: 84.55 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008222/5.787, allocations: 241 kB / 2.982 GB, free: 84.31 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004794/5.792, allocations: 1.891 MB / 2.983 GB, free: 82.35 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/5.792, allocations: 75 kB / 2.983 GB, free: 82.27 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/5.793, allocations: 40 kB / 2.983 GB, free: 82.23 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00111/5.794, allocations: 0.518 MB / 2.984 GB, free: 81.71 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/5.795, allocations: 0.6376 MB / 2.985 GB, free: 81.06 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/5.795, allocations: 0 / 2.985 GB, free: 81.06 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/5.795, allocations: 7.906 kB / 2.985 GB, free: 81.05 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/5.795, allocations: 23.98 kB / 2.985 GB, free: 81.03 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005615/5.801, allocations: 3.635 MB / 2.988 GB, free: 77.14 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000798/5.801, allocations: 413 kB / 2.989 GB, free: 76.73 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/5.802, allocations: 362.6 kB / 2.989 GB, free: 76.38 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 4.452e-05/5.802, allocations: 16.66 kB / 2.989 GB, free: 76.36 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005394/5.803, allocations: 355 kB / 2.989 GB, free: 76 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=72): time 3.286e-06/5.803, allocations: 0 / 2.989 GB, free: 76 MB / 0.6982 GB Notification: Performance of matching and sorting (n=72): time 0.002048/5.805, allocations: 0.9444 MB / 2.99 GB, free: 75.04 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/5.805, allocations: 60.06 kB / 2.99 GB, free: 74.97 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004861/5.81, allocations: 2.825 MB / 2.993 GB, free: 72.12 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.936e-05/5.81, allocations: 37.69 kB / 2.993 GB, free: 72.08 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.000301/5.81, allocations: 450.9 kB / 2.993 GB, free: 71.63 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/5.81, allocations: 228.7 kB / 2.994 GB, free: 71.41 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/5.81, allocations: 0 / 2.994 GB, free: 71.41 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.763e-05/5.81, allocations: 337.9 kB / 2.994 GB, free: 71.07 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/5.811, allocations: 245.9 kB / 2.994 GB, free: 70.83 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/5.811, allocations: 391 kB / 2.995 GB, free: 70.4 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/5.811, allocations: 301.3 kB / 2.995 GB, free: 70.1 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/5.811, allocations: 0 / 2.995 GB, free: 70.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00196/5.813, allocations: 1.074 MB / 2.996 GB, free: 69.02 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/5.813, allocations: 4 kB / 2.996 GB, free: 69.02 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/5.814, allocations: 7.906 kB / 2.996 GB, free: 69.01 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007281/5.814, allocations: 272 kB / 2.996 GB, free: 68.74 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/5.815, allocations: 143.8 kB / 2.996 GB, free: 68.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/5.819, allocations: 4.334 MB / 3.001 GB, free: 64.02 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/5.82, allocations: 103.4 kB / 3.001 GB, free: 63.92 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/5.82, allocations: 28 kB / 3.001 GB, free: 63.89 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.outdoorTemp.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,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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 {(1,100.0%) 3,(3,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000186/5.82, allocations: 136.1 kB / 3.001 GB, free: 63.75 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004544/5.821, allocations: 209.4 kB / 3.001 GB, free: 63.55 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/5.823, allocations: 1.053 MB / 3.002 GB, free: 62.48 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/5.823, allocations: 8 kB / 3.002 GB, free: 62.47 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/5.823, allocations: 4 kB / 3.002 GB, free: 62.47 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/5.823, allocations: 3.984 kB / 3.002 GB, free: 62.46 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004582/5.827, allocations: 2.646 MB / 3.005 GB, free: 59.77 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/5.827, allocations: 0 / 3.005 GB, free: 59.77 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/5.828, allocations: 83.89 kB / 3.005 GB, free: 59.68 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006283/5.828, allocations: 273 kB / 3.005 GB, free: 59.41 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.704e-05/5.828, allocations: 7.984 kB / 3.005 GB, free: 59.41 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003897/5.832, allocations: 4.338 MB / 3.009 GB, free: 54.84 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/5.832, allocations: 0 / 3.009 GB, free: 54.84 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002363/5.835, allocations: 1.444 MB / 3.011 GB, free: 53.36 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009555/5.836, allocations: 0.4903 MB / 3.011 GB, free: 52.85 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004166/5.836, allocations: 8 kB / 3.011 GB, free: 52.84 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007424/5.837, allocations: 47.95 kB / 3.011 GB, free: 52.8 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/5.837, allocations: 64.55 kB / 3.011 GB, free: 52.73 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/5.837, allocations: 23.98 kB / 3.011 GB, free: 52.71 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.003183/5.84, allocations: 2.224 MB / 3.013 GB, free: 50.47 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001603/5.842, allocations: 435.3 kB / 3.014 GB, free: 50.05 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001394/5.843, allocations: 0.9399 MB / 3.015 GB, free: 49.21 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001539/5.845, allocations: 0.9217 MB / 3.016 GB, free: 48.26 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/5.845, allocations: 0.75 kB / 3.016 GB, free: 48.26 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0008667/5.846, allocations: 0.5901 MB / 3.016 GB, free: 47.65 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/5.847, allocations: 241.3 kB / 3.017 GB, free: 47.42 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007764/5.855, allocations: 3.627 MB / 3.02 GB, free: 43.73 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002259/5.857, allocations: 1.691 MB / 3.022 GB, free: 42.01 MB / 0.6982 GB Notification: Performance of SimCode: time 1.473e-06/5.858, allocations: 4 kB / 3.022 GB, free: 42.01 MB / 0.6982 GB Notification: Performance of Templates: time 0.03551/5.893, allocations: 19.83 MB / 3.041 GB, free: 22.26 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)