Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_TrickleVent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_TrickleVent",fmuType="me",version="2.0",platforms={"static"}) [: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.003848/0.003848, allocations: 181.2 kB / 7.462 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7064/0.7064, allocations: 133.5 MB / 141.4 MB, free: 15.75 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 221.3 MB / 395 MB, free: 10.32 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 98.34 kB / 477.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5784/0.5796, allocations: 88.43 MB / 0.5529 GB, free: 88.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.8003, allocations: 82.3 MB / 0.6333 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.179/5.98, allocations: 1.921 GB / 2.554 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004316/5.98, allocations: 87.83 kB / 2.555 GB, free: 5.625 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 2.676/8.657, allocations: 0.5778 GB / 3.132 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/8.657, allocations: 9.688 kB / 3.132 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004569/8.661, allocations: 0.582 MB / 3.133 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004656/8.666, allocations: 1.968 MB / 3.135 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.321e-05/8.666, allocations: 54.22 kB / 3.135 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002809/8.666, allocations: 101.1 kB / 3.135 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003148/8.669, allocations: 1.846 MB / 3.137 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/8.672, allocations: 1.679 MB / 3.138 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.571e-05/8.672, allocations: 5.375 kB / 3.138 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/8.672, allocations: 0 / 3.138 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.287e-05/8.673, allocations: 62.47 kB / 3.138 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.013/8.686, allocations: 7.55 MB / 3.146 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/8.688, allocations: 1.665 MB / 3.147 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009678/8.689, allocations: 0.6684 MB / 3.148 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007954/8.69, allocations: 0.8133 MB / 3.149 GB, free: 120 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001283/8.692, allocations: 0.8407 MB / 3.15 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=142): time 4.569e-06/8.692, allocations: 0 / 3.15 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142): time 0.004347/8.696, allocations: 1.521 MB / 3.151 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/8.696, allocations: 275.2 kB / 3.151 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/8.699, allocations: 1.775 MB / 3.153 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004338/8.7, allocations: 30.45 kB / 3.153 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007293/8.7, allocations: 0.5932 MB / 3.154 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006181/8.701, allocations: 463.6 kB / 3.154 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/8.701, allocations: 0 / 3.154 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001361/8.701, allocations: 358.9 kB / 3.155 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008187/8.702, allocations: 497.5 kB / 3.155 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008857/8.703, allocations: 0.6626 MB / 3.156 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/8.704, allocations: 0.5883 MB / 3.156 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/8.704, allocations: 0 / 3.156 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003717/8.708, allocations: 1.525 MB / 3.158 GB, free: 118 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002719/8.708, allocations: 0.634 MB / 3.158 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/8.708, allocations: 0 / 3.158 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008574/8.709, allocations: 146.1 kB / 3.159 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/8.711, allocations: 305.9 kB / 3.159 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00355/8.714, allocations: 4.03 MB / 3.163 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/8.716, allocations: 145.3 kB / 3.163 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/8.717, allocations: 58.78 kB / 3.163 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/8.717, allocations: 6.156 kB / 3.163 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002993/8.72, allocations: 1.321 MB / 3.164 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/8.72, allocations: 3.906 kB / 3.164 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007473/8.72, allocations: 138.2 kB / 3.164 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/8.722, allocations: 303.6 kB / 3.165 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/8.725, allocations: 4.02 MB / 3.169 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/8.728, allocations: 131.6 kB / 3.169 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/8.728, allocations: 56.88 kB / 3.169 GB, free: 109.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000563/8.728, allocations: 142.8 kB / 3.169 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005248/8.729, allocations: 169.7 kB / 3.169 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004494/8.733, allocations: 1.886 MB / 3.171 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/8.733, allocations: 17.91 kB / 3.171 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/8.734, allocations: 0 / 3.171 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002786/8.736, allocations: 1.446 MB / 3.172 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008813/8.745, allocations: 3.674 MB / 3.176 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/8.745, allocations: 3.969 kB / 3.176 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/8.747, allocations: 321.4 kB / 3.176 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007858/8.748, allocations: 141.3 kB / 3.176 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/8.748, allocations: 30.09 kB / 3.176 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0035/8.751, allocations: 4.034 MB / 3.18 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/8.751, allocations: 3.969 kB / 3.18 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004939/8.756, allocations: 2.531 MB / 3.183 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007366/8.764, allocations: 3.872 MB / 3.187 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/8.766, allocations: 0.58 MB / 3.187 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004114/8.766, allocations: 6.406 kB / 3.187 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/8.768, allocations: 126.6 kB / 3.187 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/8.768, allocations: 84.12 kB / 3.187 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/8.768, allocations: 72.81 kB / 3.187 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002162/8.77, allocations: 1.381 MB / 3.189 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007242/8.778, allocations: 1.687 MB / 3.19 GB, free: 103.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.U,room.dynBal.m,room.dynBal.mXi[1],tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005905/8.784, allocations: 2.129 MB / 3.193 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005911/8.79, allocations: 2.607 MB / 3.195 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.988e-05/8.79, allocations: 5.5 kB / 3.195 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001898/8.792, allocations: 1.016 MB / 3.196 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00393/8.796, allocations: 0.5631 MB / 3.197 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009225/8.805, allocations: 3.238 MB / 3.2 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002048/8.807, allocations: 1.822 MB / 3.202 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.312e-06/8.807, allocations: 0 / 3.202 GB, free: 100.9 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_TrickleVent_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_TrickleVent.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1)