Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.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: translateModel(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation") translateModel(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation") [: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.004504/0.004504, allocations: 185.9 kB / 7.46 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7271/0.7271, 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.506/1.506, allocations: 221.3 MB / 395 MB, free: 10.18 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.001058/0.001057, allocations: 95.19 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.444e-06/7.474e-06, allocations: 0 / 0.5528 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2036, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.017/4.22, allocations: 1.882 GB / 2.515 GB, free: 71.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/4.221, allocations: 87.89 kB / 2.515 GB, free: 71.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.297/6.517, allocations: 0.664 GB / 3.179 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001287/6.517, allocations: 28.5 kB / 3.179 GB, free: 112.7 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004697/6.522, allocations: 1.396 MB / 3.181 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/6.522, allocations: 12.06 kB / 3.181 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003252/6.525, allocations: 399.4 kB / 3.181 GB, free: 112 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/6.528, allocations: 0.8681 MB / 3.182 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/6.528, allocations: 34.75 kB / 3.182 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002668/6.528, allocations: 48.84 kB / 3.182 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001709/6.53, allocations: 0.7759 MB / 3.183 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/6.532, allocations: 0.9081 MB / 3.184 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/6.532, allocations: 3.844 kB / 3.184 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/6.532, allocations: 6.406 kB / 3.184 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/6.532, allocations: 35.16 kB / 3.184 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005651/6.538, allocations: 4.496 MB / 3.188 GB, free: 109 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009978/6.539, allocations: 0.6371 MB / 3.189 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006743/6.539, allocations: 464.5 kB / 3.189 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005072/6.54, allocations: 0.6739 MB / 3.19 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/6.54, allocations: 42.31 kB / 3.19 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 3.246e-06/6.54, allocations: 0 / 3.19 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.002096/6.542, allocations: 0.782 MB / 3.191 GB, free: 108 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/6.542, allocations: 59.78 kB / 3.191 GB, free: 108 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007897/6.543, allocations: 491.4 kB / 3.191 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.878e-05/6.543, allocations: 25.7 kB / 3.191 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/6.543, allocations: 329 kB / 3.191 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/6.543, allocations: 236.9 kB / 3.192 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/6.544, allocations: 0 / 3.192 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000131/6.544, allocations: 388.2 kB / 3.192 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/6.544, allocations: 276.2 kB / 3.192 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004474/6.545, allocations: 374.4 kB / 3.193 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006592/6.545, allocations: 344 kB / 3.193 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/6.545, allocations: 0 / 3.193 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00133/6.547, allocations: 0.7865 MB / 3.194 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/6.547, allocations: 10.41 kB / 3.194 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/6.547, allocations: 0 / 3.194 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/6.547, allocations: 3.906 kB / 3.194 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007365/6.547, allocations: 155.9 kB / 3.194 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/6.547, allocations: 3.781 kB / 3.194 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/6.549, allocations: 86.77 kB / 3.194 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/6.549, allocations: 26.09 kB / 3.194 GB, free: 107 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001602/6.549, allocations: 108.3 kB / 3.194 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/6.549, allocations: 81.75 kB / 3.194 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/6.551, allocations: 0.8042 MB / 3.195 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/6.551, allocations: 7.781 kB / 3.195 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/6.551, allocations: 3.688 kB / 3.195 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/6.552, allocations: 0.8264 MB / 3.196 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/6.555, allocations: 1.785 MB / 3.198 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/6.555, allocations: 0 / 3.198 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009685/6.556, allocations: 175.6 kB / 3.198 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-05/6.556, allocations: 3.406 kB / 3.198 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/6.556, allocations: 9.891 kB / 3.198 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/6.556, allocations: 7.375 kB / 3.198 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/6.556, allocations: 5.656 kB / 3.198 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001846/6.558, allocations: 1.31 MB / 3.199 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/6.558, allocations: 248 kB / 3.199 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/6.559, allocations: 3.438 kB / 3.199 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/6.56, allocations: 64.83 kB / 3.199 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.762e-05/6.56, allocations: 35.45 kB / 3.199 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.488e-05/6.56, allocations: 22.66 kB / 3.199 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005269/6.56, allocations: 390.7 kB / 3.2 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001486/6.562, allocations: 438 kB / 3.2 GB, free: 105.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002576/6.564, allocations: 1.769 MB / 3.202 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001135/6.565, allocations: 0.6823 MB / 3.203 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/6.565, allocations: 0 / 3.203 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005067/6.566, allocations: 375.2 kB / 3.203 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/6.569, allocations: 454.4 kB / 3.203 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/6.573, allocations: 1.761 MB / 3.205 GB, free: 105 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/6.574, allocations: 1.195 MB / 3.206 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of SimCode: time 8.42e-07/6.574, allocations: 3.281 kB / 3.206 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.04015/6.614, allocations: 25.78 MB / 3.231 GB, free: 103.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)