Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_Examples_TrickleVent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="IDEAS_dev_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.003777/0.003777, allocations: 183 kB / 7.461 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.7559/0.7559, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.597/1.597, allocations: 221.3 MB / 395 MB, free: 10.23 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.001421/0.001421, allocations: 102.7 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5452/0.5467, allocations: 88.43 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.767, allocations: 82.31 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.164/5.931, allocations: 1.921 GB / 2.554 GB, free: 38.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/5.932, allocations: 91.3 kB / 2.555 GB, free: 38.31 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.665/8.596, allocations: 0.5778 GB / 3.132 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/8.596, allocations: 8.812 kB / 3.132 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004021/8.6, allocations: 0.5816 MB / 3.133 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004241/8.605, allocations: 1.966 MB / 3.135 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.338e-05/8.605, allocations: 55.47 kB / 3.135 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/8.605, allocations: 101.8 kB / 3.135 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003257/8.608, allocations: 1.85 MB / 3.137 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/8.611, allocations: 1.678 MB / 3.138 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.091e-05/8.611, allocations: 3.906 kB / 3.138 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/8.611, allocations: 6.469 kB / 3.138 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.366e-05/8.611, allocations: 57.91 kB / 3.138 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/8.624, allocations: 7.554 MB / 3.146 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/8.626, allocations: 1.678 MB / 3.147 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/8.627, allocations: 0.666 MB / 3.148 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009065/8.628, allocations: 0.8087 MB / 3.149 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/8.63, allocations: 0.8414 MB / 3.15 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=142): time 3.928e-06/8.63, allocations: 3 kB / 3.15 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142): time 0.003957/8.634, allocations: 1.515 MB / 3.151 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/8.634, allocations: 278.8 kB / 3.151 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/8.637, allocations: 1.781 MB / 3.153 GB, free: 116 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/8.637, allocations: 28.42 kB / 3.153 GB, free: 116 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006374/8.637, allocations: 0.5947 MB / 3.154 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/8.638, allocations: 461.5 kB / 3.154 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/8.638, allocations: 3.656 kB / 3.154 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001056/8.638, allocations: 352.6 kB / 3.155 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007223/8.639, allocations: 499.3 kB / 3.155 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009382/8.64, allocations: 0.6644 MB / 3.156 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/8.641, allocations: 0.5814 MB / 3.156 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/8.641, allocations: 0 / 3.156 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003326/8.644, allocations: 1.521 MB / 3.158 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001702/8.644, allocations: 0.6347 MB / 3.158 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/8.644, allocations: 3.781 kB / 3.158 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008106/8.645, allocations: 139.7 kB / 3.159 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/8.647, allocations: 308.2 kB / 3.159 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003733/8.65, allocations: 4.02 MB / 3.163 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/8.653, allocations: 143 kB / 3.163 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/8.653, allocations: 61.59 kB / 3.163 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/8.653, allocations: 5.562 kB / 3.163 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003232/8.656, allocations: 1.319 MB / 3.164 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/8.656, allocations: 2.781 kB / 3.164 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007511/8.657, allocations: 147 kB / 3.164 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/8.658, allocations: 303.5 kB / 3.165 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/8.662, allocations: 4.02 MB / 3.169 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/8.664, allocations: 136.6 kB / 3.169 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/8.664, allocations: 60.86 kB / 3.169 GB, free: 106.7 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.0005466/8.665, allocations: 137.2 kB / 3.169 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009328/8.666, allocations: 171.2 kB / 3.169 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005185/8.671, allocations: 1.883 MB / 3.171 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/8.671, allocations: 17.12 kB / 3.171 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/8.671, allocations: 0 / 3.171 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002849/8.674, allocations: 1.444 MB / 3.172 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009267/8.683, allocations: 3.68 MB / 3.176 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/8.683, allocations: 0 / 3.176 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/8.685, allocations: 324.8 kB / 3.176 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008427/8.686, allocations: 139.3 kB / 3.176 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/8.686, allocations: 24.33 kB / 3.176 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004653/8.691, allocations: 4.035 MB / 3.18 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/8.691, allocations: 1.594 kB / 3.18 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005266/8.696, allocations: 2.536 MB / 3.183 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006324/8.703, allocations: 3.877 MB / 3.187 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001971/8.705, allocations: 0.5879 MB / 3.187 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009339/8.706, allocations: 3.812 kB / 3.187 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002185/8.708, allocations: 123.7 kB / 3.187 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/8.708, allocations: 80.91 kB / 3.187 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/8.708, allocations: 78.47 kB / 3.187 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002652/8.711, allocations: 1.378 MB / 3.189 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007324/8.718, allocations: 1.679 MB / 3.19 GB, free: 100.6 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.00547/8.724, allocations: 2.124 MB / 3.193 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004841/8.728, allocations: 2.606 MB / 3.195 GB, free: 99.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/8.729, allocations: 4.188 kB / 3.195 GB, free: 99.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001587/8.73, allocations: 1.016 MB / 3.196 GB, free: 99.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00393/8.734, allocations: 0.5743 MB / 3.197 GB, free: 99.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/8.745, allocations: 3.23 MB / 3.2 GB, free: 98.48 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00318/8.748, allocations: 1.818 MB / 3.202 GB, free: 97.73 MB / 0.6823 GB Notification: Performance of SimCode: time 2.775e-06/8.748, allocations: 0 / 3.202 GB, free: 97.73 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.TrickleVent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_TrickleVent_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_TrickleVent.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1)