Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.49/1.49, allocations: 289.8 MB / 297.1 MB, free: 6.617 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 196 kB / 366.3 MB, free: 1.922 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 0.6256 GB, free: 5.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008846/0.0008846, allocations: 93.3 kB / 0.7396 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.322e-06/6.452e-06, allocations: 0 / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6583/0.6583, allocations: 116.3 MB / 0.9726 GB, free: 68.39 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.084/5.743, allocations: 2.351 GB / 3.323 GB, free: 103.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/5.743, allocations: 89.23 kB / 3.323 GB, free: 103.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.1576/5.901, allocations: 79.21 MB / 3.401 GB, free: 23.37 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001999/5.901, allocations: 59.86 kB / 3.401 GB, free: 23.31 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.004427/5.905, allocations: 2.298 MB / 3.403 GB, free: 20.95 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.837e-05/5.905, allocations: 8.031 kB / 3.403 GB, free: 20.94 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006713/5.906, allocations: 308.1 kB / 3.403 GB, free: 20.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006239/5.912, allocations: 2.416 MB / 3.406 GB, free: 18.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/5.912, allocations: 87.69 kB / 3.406 GB, free: 18.07 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/5.913, allocations: 48 kB / 3.406 GB, free: 18.02 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00144/5.914, allocations: 0.7067 MB / 3.406 GB, free: 17.32 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/5.915, allocations: 0.7899 MB / 3.407 GB, free: 16.51 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/5.915, allocations: 7.906 kB / 3.407 GB, free: 16.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/5.915, allocations: 11.98 kB / 3.407 GB, free: 16.49 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/5.915, allocations: 20 kB / 3.407 GB, free: 16.47 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00662/5.922, allocations: 4.371 MB / 3.412 GB, free: 11.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009997/5.923, allocations: 0.5402 MB / 3.412 GB, free: 11.28 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007047/5.924, allocations: 483.5 kB / 3.412 GB, free: 10.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.229e-05/5.924, allocations: 13.86 kB / 3.413 GB, free: 10.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007044/5.925, allocations: 476.4 kB / 3.413 GB, free: 10.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.817e-06/5.925, allocations: 0 / 3.413 GB, free: 10.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=94): time 0.002544/5.927, allocations: 1.267 MB / 3.414 GB, free: 9.027 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/5.927, allocations: 72.19 kB / 3.414 GB, free: 8.945 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005075/5.932, allocations: 3.749 MB / 3.418 GB, free: 5.188 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/5.932, allocations: 33.7 kB / 3.418 GB, free: 5.148 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/5.933, allocations: 0.534 MB / 3.418 GB, free: 4.605 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/5.933, allocations: 287.9 kB / 3.419 GB, free: 4.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/5.933, allocations: 0 / 3.419 GB, free: 4.32 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.752e-05/5.933, allocations: 342.2 kB / 3.419 GB, free: 3.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/5.933, allocations: 333.9 kB / 3.419 GB, free: 3.652 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/5.934, allocations: 499.1 kB / 3.42 GB, free: 3.117 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/5.935, allocations: 402.7 kB / 3.42 GB, free: 2.727 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/5.935, allocations: 3.906 kB / 3.42 GB, free: 2.723 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002089/5.937, allocations: 1.393 MB / 3.422 GB, free: 1.312 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/5.937, allocations: 4 kB / 3.422 GB, free: 1.309 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/5.937, allocations: 8 kB / 3.422 GB, free: 1.301 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009053/5.938, allocations: 332.2 kB / 3.422 GB, free: 0.9727 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/5.938, allocations: 179.6 kB / 3.422 GB, free: 0.7969 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.405/6.343, allocations: 4.675 MB / 3.427 GB, free: 367.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/6.345, allocations: 128.3 kB / 3.427 GB, free: 367.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-05/6.345, allocations: 35.09 kB / 3.427 GB, free: 367.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 90 * 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.0002331/6.345, allocations: 144.5 kB / 3.427 GB, free: 367.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/6.346, allocations: 267.1 kB / 3.427 GB, free: 367.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/6.348, allocations: 1.434 MB / 3.429 GB, free: 367.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/6.348, allocations: 11.56 kB / 3.429 GB, free: 367.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/6.348, allocations: 6.969 kB / 3.429 GB, free: 367.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/6.348, allocations: 3.891 kB / 3.429 GB, free: 367.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005168/6.354, allocations: 3.493 MB / 3.432 GB, free: 366.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/6.354, allocations: 2.531 kB / 3.432 GB, free: 366.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/6.354, allocations: 107.5 kB / 3.432 GB, free: 366.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007651/6.355, allocations: 332 kB / 3.432 GB, free: 366.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-05/6.355, allocations: 13.72 kB / 3.433 GB, free: 366.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004257/6.359, allocations: 4.679 MB / 3.437 GB, free: 364.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/6.359, allocations: 0 / 3.437 GB, free: 364.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002773/6.362, allocations: 1.975 MB / 3.439 GB, free: 363.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009487/6.363, allocations: 0.6282 MB / 3.44 GB, free: 363.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/6.363, allocations: 12.45 kB / 3.44 GB, free: 363.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006675/6.364, allocations: 67.48 kB / 3.44 GB, free: 363.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/6.364, allocations: 73.8 kB / 3.44 GB, free: 363.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/6.364, allocations: 36.19 kB / 3.44 GB, free: 363.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003254/6.367, allocations: 2.947 MB / 3.443 GB, free: 363.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001397/6.369, allocations: 0.5204 MB / 3.443 GB, free: 363.5 MB / 0.948 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001356/6.37, allocations: 0.9487 MB / 3.444 GB, free: 363.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001594/6.372, allocations: 1.128 MB / 3.445 GB, free: 363.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/6.372, allocations: 0 / 3.445 GB, free: 363.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008621/6.373, allocations: 0.7346 MB / 3.446 GB, free: 362.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/6.374, allocations: 270.7 kB / 3.446 GB, free: 362.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007733/6.382, allocations: 4.763 MB / 3.451 GB, free: 362.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001845/6.384, allocations: 1.974 MB / 3.453 GB, free: 361.4 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/6.384, allocations: 0 / 3.453 GB, free: 361.4 MB / 0.948 GB Notification: Performance of Templates: time 0.04076/6.425, allocations: 24.2 MB / 3.476 GB, free: 360.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1)