Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.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.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") translateModel(IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") [: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.001422/0.001422, allocations: 193.8 kB / 7.808 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4652/0.4652, allocations: 90.86 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.201/1.201, allocations: 221.4 MB / 342.8 MB, free: 5.312 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.001091/0.001091, allocations: 99.31 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.595e-06/7.705e-06, allocations: 0 / 493.9 MB, free: 8.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.428, allocations: 72.29 MB / 0.5529 GB, free: 73.32 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.867/5.295, allocations: 2.148 GB / 2.701 GB, free: 141.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/5.296, allocations: 87.95 kB / 2.701 GB, free: 141.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.985/7.28, allocations: 0.6444 GB / 3.345 GB, free: 99.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000188/7.28, allocations: 62.31 kB / 3.345 GB, free: 99.57 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003825/7.284, allocations: 2.659 MB / 3.348 GB, free: 98.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/7.284, allocations: 7.344 kB / 3.348 GB, free: 98.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/7.286, allocations: 482.1 kB / 3.348 GB, free: 98.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005107/7.291, allocations: 2.695 MB / 3.351 GB, free: 97.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/7.291, allocations: 98.16 kB / 3.351 GB, free: 97.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/7.291, allocations: 79.38 kB / 3.351 GB, free: 97.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001605/7.293, allocations: 1.066 MB / 3.352 GB, free: 97.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/7.295, allocations: 1.246 MB / 3.353 GB, free: 97.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/7.295, allocations: 7.375 kB / 3.353 GB, free: 97.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/7.295, allocations: 3.797 kB / 3.353 GB, free: 97.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/7.295, allocations: 47.84 kB / 3.353 GB, free: 97.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006749/7.302, allocations: 6.58 MB / 3.36 GB, free: 94.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009593/7.302, allocations: 0.6458 MB / 3.36 GB, free: 94.92 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007592/7.303, allocations: 0.5802 MB / 3.361 GB, free: 94.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/7.304, allocations: 294.4 kB / 3.361 GB, free: 94.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007329/7.304, allocations: 0.5704 MB / 3.362 GB, free: 94.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=112): time 3.366e-06/7.304, allocations: 3.172 kB / 3.362 GB, free: 94.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=112): time 0.002538/7.307, allocations: 1.394 MB / 3.363 GB, free: 94.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/7.307, allocations: 65.91 kB / 3.363 GB, free: 94.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004262/7.311, allocations: 3.37 MB / 3.366 GB, free: 94.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-05/7.311, allocations: 33.42 kB / 3.367 GB, free: 94.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/7.312, allocations: 0.6555 MB / 3.367 GB, free: 93.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/7.312, allocations: 362.4 kB / 3.367 GB, free: 93.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/7.312, allocations: 0 / 3.367 GB, free: 93.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.931e-05/7.312, allocations: 355.2 kB / 3.368 GB, free: 93.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/7.313, allocations: 420.6 kB / 3.368 GB, free: 93.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006565/7.313, allocations: 0.6745 MB / 3.369 GB, free: 92.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008609/7.314, allocations: 0.5481 MB / 3.369 GB, free: 92.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/7.314, allocations: 0 / 3.369 GB, free: 92.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002299/7.316, allocations: 1.575 MB / 3.371 GB, free: 92.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/7.317, allocations: 3.75 kB / 3.371 GB, free: 92.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/7.317, allocations: 7.281 kB / 3.371 GB, free: 92.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005114/7.317, allocations: 220.6 kB / 3.371 GB, free: 92.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009032/7.318, allocations: 256.5 kB / 3.371 GB, free: 92.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003156/7.321, allocations: 3.97 MB / 3.375 GB, free: 90.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/7.322, allocations: 185.2 kB / 3.375 GB, free: 90.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.617e-05/7.323, allocations: 54.28 kB / 3.376 GB, free: 90.03 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.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,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * 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 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002085/7.323, allocations: 146.2 kB / 3.376 GB, free: 89.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/7.323, allocations: 273.5 kB / 3.376 GB, free: 89.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/7.326, allocations: 1.507 MB / 3.377 GB, free: 89.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/7.326, allocations: 13.22 kB / 3.377 GB, free: 89.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/7.326, allocations: 3.594 kB / 3.377 GB, free: 89.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001764/7.327, allocations: 1.285 MB / 3.379 GB, free: 89.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005445/7.333, allocations: 3.826 MB / 3.382 GB, free: 88.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/7.333, allocations: 0 / 3.382 GB, free: 88.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008087/7.334, allocations: 178.6 kB / 3.383 GB, free: 88.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/7.334, allocations: 207.8 kB / 3.383 GB, free: 88.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.823e-05/7.334, allocations: 14.44 kB / 3.383 GB, free: 88.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003212/7.337, allocations: 3.978 MB / 3.387 GB, free: 86.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/7.337, allocations: 0 / 3.387 GB, free: 86.34 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002841/7.34, allocations: 2.246 MB / 3.389 GB, free: 85.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009729/7.341, allocations: 0.6226 MB / 3.389 GB, free: 85.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003712/7.342, allocations: 14.31 kB / 3.39 GB, free: 85.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/7.343, allocations: 98.16 kB / 3.39 GB, free: 85.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/7.343, allocations: 81.88 kB / 3.39 GB, free: 85.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/7.343, allocations: 47.88 kB / 3.39 GB, free: 85.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.002722/7.346, allocations: 2.643 MB / 3.392 GB, free: 85.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001879/7.348, allocations: 0.7084 MB / 3.393 GB, free: 85.33 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.medium.Xi[1],thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($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,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 86 * 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%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002379/7.35, allocations: 1.794 MB / 3.395 GB, free: 84.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001928/7.352, allocations: 1.32 MB / 3.396 GB, free: 84.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/7.352, allocations: 0 / 3.396 GB, free: 84.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009799/7.353, allocations: 0.8075 MB / 3.397 GB, free: 84.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/7.355, allocations: 0.4898 MB / 3.397 GB, free: 84.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008314/7.363, allocations: 4.994 MB / 3.402 GB, free: 83.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001893/7.365, allocations: 2.114 MB / 3.404 GB, free: 82.84 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/7.365, allocations: 0.8438 kB / 3.404 GB, free: 82.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.05088/7.416, allocations: 34.43 MB / 3.438 GB, free: 77.93 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe 2>&1)