Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") [: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.7658/0.7658, allocations: 141.8 MB / 149.1 MB, free: 10.77 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.001123/0.001123, allocations: 178.1 kB / 181.9 MB, free: 7.621 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.411/1.411, allocations: 221.4 MB / 436 MB, free: 15.68 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.0009429, allocations: 87.7 kB / 0.507 GB, free: 17.74 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001842/0.001842, allocations: 280.8 kB / 0.5885 GB, free: 1.539 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.068e-05/1.069e-05, allocations: 2.844 kB / 0.6759 GB, free: 136.7 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1832, allocations: 82.78 MB / 0.7567 GB, free: 80.21 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.754/5.938, allocations: 2.148 GB / 2.905 GB, free: 164.9 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/5.938, allocations: 95.73 kB / 2.905 GB, free: 164.9 MB / 0.7138 GB Notification: Performance of FrontEnd: time 0.1536/6.092, allocations: 72.61 MB / 2.976 GB, free: 104.1 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0002996/6.092, allocations: 39.94 kB / 2.976 GB, free: 104.1 MB / 0.7138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00431/6.096, allocations: 1.812 MB / 2.978 GB, free: 102.2 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/6.096, allocations: 11.97 kB / 2.978 GB, free: 102.2 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008603/6.097, allocations: 237.1 kB / 2.978 GB, free: 102 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00526/6.103, allocations: 1.847 MB / 2.98 GB, free: 100.1 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/6.103, allocations: 71 kB / 2.98 GB, free: 99.98 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/6.103, allocations: 47.91 kB / 2.98 GB, free: 99.93 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001318/6.104, allocations: 490.5 kB / 2.981 GB, free: 99.45 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/6.106, allocations: 0.586 MB / 2.981 GB, free: 98.85 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/6.106, allocations: 12 kB / 2.981 GB, free: 98.84 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-05/6.106, allocations: 3.984 kB / 2.981 GB, free: 98.84 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/6.106, allocations: 15.94 kB / 2.981 GB, free: 98.82 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006061/6.112, allocations: 3.424 MB / 2.985 GB, free: 95.15 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007477/6.113, allocations: 392.7 kB / 2.985 GB, free: 94.77 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/6.113, allocations: 350 kB / 2.985 GB, free: 94.42 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/6.113, allocations: 4.5 kB / 2.985 GB, free: 94.41 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005251/6.114, allocations: 350.8 kB / 2.986 GB, free: 94.06 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=69): time 3.547e-06/6.114, allocations: 0 / 2.986 GB, free: 94.06 MB / 0.7138 GB Notification: Performance of matching and sorting (n=69): time 0.002052/6.116, allocations: 0.9133 MB / 2.986 GB, free: 93.13 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/6.116, allocations: 60.06 kB / 2.987 GB, free: 93.06 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005784/6.122, allocations: 2.798 MB / 2.989 GB, free: 90.24 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0002245/6.122, allocations: 33.7 kB / 2.989 GB, free: 90.2 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004935/6.123, allocations: 430.8 kB / 2.99 GB, free: 89.77 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004573/6.123, allocations: 217 kB / 2.99 GB, free: 89.56 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/6.123, allocations: 0 / 2.99 GB, free: 89.56 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001253/6.123, allocations: 334.7 kB / 2.99 GB, free: 89.23 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/6.124, allocations: 233.5 kB / 2.99 GB, free: 89 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/6.124, allocations: 359.5 kB / 2.991 GB, free: 88.6 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005759/6.125, allocations: 277.3 kB / 2.991 GB, free: 88.33 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/6.125, allocations: 0 / 2.991 GB, free: 88.33 MB / 0.7138 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002391/6.127, allocations: 1.046 MB / 2.992 GB, free: 87.27 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/6.127, allocations: 11.94 kB / 2.992 GB, free: 87.26 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/6.127, allocations: 4 kB / 2.992 GB, free: 87.26 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008371/6.128, allocations: 270.4 kB / 2.992 GB, free: 86.99 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/6.129, allocations: 139.8 kB / 2.992 GB, free: 86.86 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004358/6.133, allocations: 4.351 MB / 2.997 GB, free: 82.27 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/6.134, allocations: 99.31 kB / 2.997 GB, free: 82.18 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/6.135, allocations: 28 kB / 2.997 GB, free: 82.15 MB / 0.7138 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.outdoorTemp.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWindow.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,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002241/6.135, allocations: 132 kB / 2.997 GB, free: 82.02 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006551/6.136, allocations: 201.4 kB / 2.997 GB, free: 81.82 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/6.138, allocations: 1.014 MB / 2.998 GB, free: 80.78 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/6.138, allocations: 8 kB / 2.998 GB, free: 80.77 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/6.138, allocations: 4 kB / 2.998 GB, free: 80.77 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/6.138, allocations: 3.984 kB / 2.998 GB, free: 80.77 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005462/6.143, allocations: 2.583 MB / 3.001 GB, free: 78.13 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/6.143, allocations: 4 kB / 3.001 GB, free: 78.12 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/6.144, allocations: 75.91 kB / 3.001 GB, free: 78.05 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006882/6.145, allocations: 268.7 kB / 3.001 GB, free: 77.79 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.548e-05/6.145, allocations: 7.984 kB / 3.001 GB, free: 77.78 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004156/6.149, allocations: 4.349 MB / 3.005 GB, free: 73.2 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/6.149, allocations: 0 / 3.005 GB, free: 73.2 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002517/6.151, allocations: 1.394 MB / 3.007 GB, free: 71.78 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/6.152, allocations: 498.1 kB / 3.007 GB, free: 71.27 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000471/6.153, allocations: 7.984 kB / 3.007 GB, free: 71.27 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008287/6.154, allocations: 43.97 kB / 3.007 GB, free: 71.22 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/6.154, allocations: 64.55 kB / 3.007 GB, free: 71.16 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/6.154, allocations: 27.89 kB / 3.007 GB, free: 71.13 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.003833/6.158, allocations: 2.212 MB / 3.009 GB, free: 68.91 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.001972/6.16, allocations: 407.5 kB / 3.01 GB, free: 68.51 MB / 0.7138 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,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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.001677/6.161, allocations: 0.9363 MB / 3.011 GB, free: 67.66 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0016/6.163, allocations: 0.8751 MB / 3.012 GB, free: 66.77 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/6.163, allocations: 0 / 3.012 GB, free: 66.77 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0008671/6.164, allocations: 0.5907 MB / 3.012 GB, free: 66.16 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/6.166, allocations: 235.2 kB / 3.012 GB, free: 65.93 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007323/6.173, allocations: 3.571 MB / 3.016 GB, free: 62.3 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001931/6.175, allocations: 1.659 MB / 3.017 GB, free: 60.6 MB / 0.7138 GB Notification: Performance of SimCode: time 2.584e-06/6.175, allocations: 0 / 3.017 GB, free: 60.6 MB / 0.7138 GB Notification: Performance of Templates: time 0.03688/6.212, allocations: 19.26 MB / 3.036 GB, free: 41.44 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)