Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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.TestCase9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") [: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.7771/0.7771, allocations: 141.8 MB / 149.1 MB, free: 8.109 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.001139/0.001139, allocations: 180.8 kB / 181.9 MB, free: 5.367 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.372/1.372, allocations: 221.4 MB / 436 MB, free: 13.12 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.001034/0.001034, allocations: 97.69 kB / 0.507 GB, free: 6.559 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001804/0.001804, allocations: 272.6 kB / 0.5884 GB, free: 3.344 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 8.817e-06/8.957e-06, allocations: 3.906 kB / 0.6759 GB, free: 164.4 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1773, allocations: 82.79 MB / 0.7567 GB, free: 110.8 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.203/5.38, allocations: 2.151 GB / 2.907 GB, free: 197.6 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003849/5.381, allocations: 97.48 kB / 2.907 GB, free: 197.6 MB / 0.7138 GB Notification: Performance of FrontEnd: time 0.1896/5.57, allocations: 82.99 MB / 2.989 GB, free: 115 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0005532/5.571, allocations: 56 kB / 2.989 GB, free: 115 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.007784/5.579, allocations: 2.517 MB / 2.991 GB, free: 112.4 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 6.726e-05/5.579, allocations: 8.031 kB / 2.991 GB, free: 112.4 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/5.581, allocations: 339.7 kB / 2.991 GB, free: 112.1 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00927/5.59, allocations: 2.581 MB / 2.994 GB, free: 109.4 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/5.591, allocations: 83.67 kB / 2.994 GB, free: 109.3 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004113/5.591, allocations: 60 kB / 2.994 GB, free: 109.3 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002063/5.593, allocations: 0.7341 MB / 2.995 GB, free: 108.5 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/5.595, allocations: 0.8406 MB / 2.996 GB, free: 107.7 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/5.595, allocations: 0 / 2.996 GB, free: 107.7 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.87e-05/5.595, allocations: 4 kB / 2.996 GB, free: 107.7 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/5.595, allocations: 27.91 kB / 2.996 GB, free: 107.7 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009413/5.605, allocations: 4.588 MB / 3 GB, free: 102.8 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/5.606, allocations: 0.5776 MB / 3.001 GB, free: 102.2 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00077/5.606, allocations: 0.5074 MB / 3.001 GB, free: 101.7 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-05/5.607, allocations: 8.781 kB / 3.001 GB, free: 101.7 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007861/5.607, allocations: 0.5183 MB / 3.002 GB, free: 101.2 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=104): time 4.358e-06/5.607, allocations: 0 / 3.002 GB, free: 101.2 MB / 0.7138 GB Notification: Performance of matching and sorting (n=104): time 0.003074/5.61, allocations: 1.38 MB / 3.003 GB, free: 99.79 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/5.61, allocations: 64.41 kB / 3.003 GB, free: 99.72 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009944/5.62, allocations: 4.305 MB / 3.007 GB, free: 95.42 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003263/5.621, allocations: 33.7 kB / 3.007 GB, free: 95.38 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007562/5.622, allocations: 0.5792 MB / 3.008 GB, free: 94.8 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005884/5.622, allocations: 319.4 kB / 3.008 GB, free: 94.48 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.049e-05/5.622, allocations: 4 kB / 3.008 GB, free: 94.48 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001331/5.622, allocations: 353.8 kB / 3.008 GB, free: 94.12 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006767/5.623, allocations: 362.5 kB / 3.009 GB, free: 93.77 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007648/5.624, allocations: 0.522 MB / 3.009 GB, free: 93.19 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/5.625, allocations: 425.7 kB / 3.01 GB, free: 92.77 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/5.625, allocations: 0 / 3.01 GB, free: 92.77 MB / 0.7138 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003554/5.628, allocations: 1.511 MB / 3.011 GB, free: 91.25 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/5.628, allocations: 4 kB / 3.011 GB, free: 91.25 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/5.628, allocations: 4 kB / 3.011 GB, free: 91.24 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/5.629, allocations: 336.1 kB / 3.012 GB, free: 90.91 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007709/5.63, allocations: 187.8 kB / 3.012 GB, free: 90.73 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005691/5.636, allocations: 4.682 MB / 3.016 GB, free: 85.82 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/5.638, allocations: 131.2 kB / 3.016 GB, free: 85.69 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/5.638, allocations: 36 kB / 3.016 GB, free: 85.66 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition9,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$PRE.HSky.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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * 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,(2,100.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003551/5.638, allocations: 146 kB / 3.017 GB, free: 85.51 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00149/5.64, allocations: 312 kB / 3.017 GB, free: 85.2 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/5.644, allocations: 1.548 MB / 3.018 GB, free: 83.64 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/5.644, allocations: 12 kB / 3.018 GB, free: 83.63 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/5.644, allocations: 7.906 kB / 3.018 GB, free: 83.62 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/5.644, allocations: 7.969 kB / 3.018 GB, free: 83.61 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009966/5.654, allocations: 3.84 MB / 3.022 GB, free: 79.72 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/5.654, allocations: 3.938 kB / 3.022 GB, free: 79.71 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/5.655, allocations: 123.9 kB / 3.022 GB, free: 79.59 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008882/5.655, allocations: 334.2 kB / 3.023 GB, free: 79.26 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/5.656, allocations: 15.98 kB / 3.023 GB, free: 79.25 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005072/5.661, allocations: 4.677 MB / 3.027 GB, free: 74.34 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/5.661, allocations: 0 / 3.027 GB, free: 74.34 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004195/5.665, allocations: 2.14 MB / 3.029 GB, free: 72.17 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/5.667, allocations: 0.696 MB / 3.03 GB, free: 71.45 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009847/5.668, allocations: 15.98 kB / 3.03 GB, free: 71.44 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/5.669, allocations: 67.78 kB / 3.03 GB, free: 71.37 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/5.669, allocations: 84.8 kB / 3.03 GB, free: 71.29 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/5.67, allocations: 39.98 kB / 3.03 GB, free: 71.25 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.006824/5.676, allocations: 3.393 MB / 3.034 GB, free: 67.87 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.00289/5.679, allocations: 0.5656 MB / 3.034 GB, free: 67.3 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: 26 ($whenCondition9,$whenCondition8,$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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,HSky.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 15 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,HSky.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002024/5.681, allocations: 0.9568 MB / 3.035 GB, free: 66.45 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.002442/5.684, allocations: 1.217 MB / 3.036 GB, free: 65.21 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/5.684, allocations: 0 / 3.036 GB, free: 65.21 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/5.685, allocations: 0.7763 MB / 3.037 GB, free: 64.41 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/5.688, allocations: 307.8 kB / 3.037 GB, free: 64.11 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/5.7, allocations: 5.338 MB / 3.042 GB, free: 58.71 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003765/5.704, allocations: 2.143 MB / 3.045 GB, free: 56.54 MB / 0.7138 GB Notification: Performance of SimCode: time 1.984e-06/5.704, allocations: 0 / 3.045 GB, free: 56.54 MB / 0.7138 GB Notification: Performance of Templates: time 0.05346/5.757, allocations: 26.19 MB / 3.07 GB, free: 30.49 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1)