Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.0009731/0.0009732, allocations: 180.2 kB / 7.799 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4661/0.4661, allocations: 90.84 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 221.4 MB / 342.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009775/0.0009774, allocations: 96.09 kB / 415.5 MB, free: 9.879 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.068e-05/1.071e-05, allocations: 4 kB / 493.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3574, allocations: 72.3 MB / 0.5529 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.847/5.204, allocations: 2.143 GB / 2.696 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/5.205, allocations: 95.94 kB / 2.696 GB, free: 146.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.1529/5.358, allocations: 74.67 MB / 2.769 GB, free: 71.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002996/5.358, allocations: 43.92 kB / 2.769 GB, free: 71.58 MB / 0.6042 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.004498/5.362, allocations: 1.872 MB / 2.771 GB, free: 69.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/5.363, allocations: 8.031 kB / 2.771 GB, free: 69.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009036/5.363, allocations: 237 kB / 2.771 GB, free: 69.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005214/5.369, allocations: 1.879 MB / 2.773 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/5.369, allocations: 82.91 kB / 2.773 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/5.369, allocations: 40 kB / 2.773 GB, free: 67.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001222/5.37, allocations: 0.5219 MB / 2.774 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/5.372, allocations: 0.6376 MB / 2.774 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/5.372, allocations: 0 / 2.774 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.353e-05/5.372, allocations: 4 kB / 2.774 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/5.372, allocations: 16 kB / 2.774 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00643/5.378, allocations: 3.659 MB / 2.778 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008543/5.379, allocations: 409 kB / 2.778 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006487/5.38, allocations: 362.7 kB / 2.779 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/5.38, allocations: 8.656 kB / 2.779 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005217/5.38, allocations: 362.9 kB / 2.779 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=72): time 3.817e-06/5.38, allocations: 0 / 2.779 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72): time 0.002197/5.383, allocations: 0.9405 MB / 2.78 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/5.383, allocations: 60.06 kB / 2.78 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005922/5.389, allocations: 2.825 MB / 2.783 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.952e-05/5.389, allocations: 33.7 kB / 2.783 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/5.389, allocations: 454.9 kB / 2.783 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/5.389, allocations: 220.9 kB / 2.783 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/5.389, allocations: 0 / 2.783 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.431e-05/5.389, allocations: 345.8 kB / 2.784 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/5.39, allocations: 245.9 kB / 2.784 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/5.39, allocations: 395.3 kB / 2.784 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/5.391, allocations: 300 kB / 2.785 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/5.391, allocations: 0 / 2.785 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002568/5.394, allocations: 1.07 MB / 2.786 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/5.394, allocations: 4.125 kB / 2.786 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/5.394, allocations: 8 kB / 2.786 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009336/5.395, allocations: 263 kB / 2.786 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/5.395, allocations: 151.8 kB / 2.786 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004645/5.4, allocations: 4.334 MB / 2.79 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/5.401, allocations: 111.4 kB / 2.79 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.392e-05/5.401, allocations: 24 kB / 2.79 GB, free: 48.99 MB / 0.6042 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.0002184/5.401, allocations: 139.9 kB / 2.79 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005877/5.402, allocations: 205.4 kB / 2.791 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/5.404, allocations: 1.053 MB / 2.792 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/5.404, allocations: 8 kB / 2.792 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/5.404, allocations: 4 kB / 2.792 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/5.404, allocations: 7.984 kB / 2.792 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00508/5.41, allocations: 2.642 MB / 2.794 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/5.41, allocations: 0 / 2.794 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/5.41, allocations: 83.89 kB / 2.794 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006484/5.411, allocations: 261.5 kB / 2.795 GB, free: 44.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/5.411, allocations: 12 kB / 2.795 GB, free: 44.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/5.415, allocations: 4.334 MB / 2.799 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/5.415, allocations: 0 / 2.799 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002423/5.417, allocations: 1.456 MB / 2.8 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/5.418, allocations: 0.4942 MB / 2.801 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004161/5.419, allocations: 8 kB / 2.801 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007404/5.419, allocations: 43.95 kB / 2.801 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/5.42, allocations: 60.83 kB / 2.801 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/5.42, allocations: 27.98 kB / 2.801 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.003371/5.423, allocations: 2.228 MB / 2.803 GB, free: 35.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001773/5.425, allocations: 427.3 kB / 2.803 GB, free: 35.14 MB / 0.6042 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.001625/5.426, allocations: 0.9474 MB / 2.804 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001627/5.428, allocations: 0.9062 MB / 2.805 GB, free: 33.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/5.428, allocations: 4 kB / 2.805 GB, free: 33.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008633/5.429, allocations: 0.5986 MB / 2.806 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/5.43, allocations: 244.9 kB / 2.806 GB, free: 32.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006877/5.437, allocations: 3.63 MB / 2.81 GB, free: 28.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/5.439, allocations: 1.687 MB / 2.811 GB, free: 27.09 MB / 0.6042 GB Notification: Performance of SimCode: time 1.233e-06/5.439, allocations: 4 kB / 2.811 GB, free: 27.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.03594/5.475, allocations: 19.85 MB / 2.831 GB, free: 7.297 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)