Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.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.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor") translateModel(IBPSA.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor") [: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.001432/0.001432, allocations: 188 kB / 7.805 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.4642/0.4642, allocations: 90.85 MB / 99.08 MB, free: 14.92 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.296/1.296, allocations: 221.4 MB / 342.8 MB, free: 5.109 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.000976/0.0009758, allocations: 90.31 kB / 415.5 MB, free: 9.84 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.594e-06/7.614e-06, allocations: 4 kB / 493.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4273, allocations: 72.31 MB / 0.5529 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.08/1.508, allocations: 412.2 MB / 0.9555 GB, free: 232.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/1.508, allocations: 84.03 kB / 0.9555 GB, free: 232.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.9852/2.493, allocations: 292.8 MB / 1.241 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.3e-05/2.493, allocations: 34.53 kB / 1.242 GB, free: 134.9 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.003966/2.497, allocations: 1.878 MB / 1.243 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/2.497, allocations: 7.625 kB / 1.243 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005339/2.498, allocations: 198 kB / 1.244 GB, free: 134 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/2.5, allocations: 1.384 MB / 1.245 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.008e-05/2.501, allocations: 49.44 kB / 1.245 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/2.501, allocations: 90.97 kB / 1.245 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003321/2.504, allocations: 2.27 MB / 1.247 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/2.507, allocations: 1.644 MB / 1.249 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/2.507, allocations: 5.938 kB / 1.249 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/2.507, allocations: 3.656 kB / 1.249 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/2.507, allocations: 36.69 kB / 1.249 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007547/2.514, allocations: 4.999 MB / 1.254 GB, free: 132.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/2.516, allocations: 1.174 MB / 1.255 GB, free: 132.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/2.518, allocations: 1.343 MB / 1.256 GB, free: 132.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/2.519, allocations: 1.735 MB / 1.258 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/2.519, allocations: 55.22 kB / 1.258 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=237): time 3.797e-06/2.519, allocations: 0 / 1.258 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=237): time 0.004814/2.524, allocations: 2.446 MB / 1.26 GB, free: 130.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/2.524, allocations: 78.53 kB / 1.26 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009873/2.525, allocations: 0.6656 MB / 1.261 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/2.525, allocations: 25.7 kB / 1.261 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/2.525, allocations: 366.6 kB / 1.261 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006395/2.526, allocations: 0.7581 MB / 1.262 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/2.526, allocations: 0 / 1.262 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001354/2.526, allocations: 382.9 kB / 1.263 GB, free: 129 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/2.527, allocations: 0.8486 MB / 1.263 GB, free: 129 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/2.529, allocations: 1.048 MB / 1.264 GB, free: 128.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00301/2.532, allocations: 1.304 MB / 1.266 GB, free: 128.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/2.532, allocations: 11.56 kB / 1.266 GB, free: 128.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005206/2.537, allocations: 2.541 MB / 1.268 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/2.537, allocations: 10.41 kB / 1.268 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/2.537, allocations: 2.75 kB / 1.268 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.798e-05/2.537, allocations: 13.94 kB / 1.268 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/2.539, allocations: 440.8 kB / 1.269 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.295e-05/2.539, allocations: 15.86 kB / 1.269 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/2.541, allocations: 177 kB / 1.269 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/2.541, allocations: 74.28 kB / 1.269 GB, free: 128.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * 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.0003241/2.542, allocations: 134.3 kB / 1.269 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004067/2.542, allocations: 147 kB / 1.269 GB, free: 128.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006193/2.548, allocations: 2.861 MB / 1.272 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/2.548, allocations: 26.06 kB / 1.272 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/2.548, allocations: 0 / 1.272 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004878/2.553, allocations: 2.517 MB / 1.274 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008622/2.562, allocations: 4.242 MB / 1.279 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/2.562, allocations: 3.062 kB / 1.279 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/2.564, allocations: 410.8 kB / 1.279 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/2.564, allocations: 91 kB / 1.279 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/2.564, allocations: 21.47 kB / 1.279 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006679/2.565, allocations: 1.134 MB / 1.28 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/2.565, allocations: 0 / 1.28 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00734/2.572, allocations: 4.219 MB / 1.284 GB, free: 123.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/2.574, allocations: 498.7 kB / 1.285 GB, free: 123 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/2.574, allocations: 0.5625 kB / 1.285 GB, free: 123 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/2.575, allocations: 73.81 kB / 1.285 GB, free: 123 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/2.575, allocations: 129 kB / 1.285 GB, free: 122.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/2.575, allocations: 74.72 kB / 1.285 GB, free: 122.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.000779/2.576, allocations: 0.5217 MB / 1.286 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002251/2.578, allocations: 0.6133 MB / 1.286 GB, free: 122.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * 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: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001019/2.579, allocations: 0.5505 MB / 1.287 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003274/2.583, allocations: 2.199 MB / 1.289 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/2.583, allocations: 0 / 1.289 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/2.584, allocations: 1.247 MB / 1.29 GB, free: 119 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/2.587, allocations: 467.2 kB / 1.291 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/2.593, allocations: 3.171 MB / 1.294 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/2.594, allocations: 1.559 MB / 1.295 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.325e-06/2.594, allocations: 0 / 1.295 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.04981/2.644, allocations: 31.13 MB / 1.326 GB, free: 88.31 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)