Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.6883/0.6883, allocations: 141.8 MB / 149.1 MB, free: 0.8828 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 178.1 kB / 182 MB, free: 13.05 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 221.3 MB / 436 MB, free: 5.82 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 105.1 kB / 0.507 GB, free: 19.21 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001769/0.001769, allocations: 284.6 kB / 0.5885 GB, free: 6.969 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.234e-06/7.254e-06, allocations: 1.5 kB / 0.6759 GB, free: 140 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.145, allocations: 82.77 MB / 0.7567 GB, free: 89.06 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9393/1.084, allocations: 419.2 MB / 1.166 GB, free: 259.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/1.085, allocations: 86.2 kB / 1.166 GB, free: 259.9 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.8484/1.933, allocations: 286.6 MB / 1.446 GB, free: 147.6 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001379/1.933, allocations: 38.81 kB / 1.446 GB, free: 147.6 MB / 0.6982 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.004794/1.938, allocations: 1.868 MB / 1.448 GB, free: 147 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/1.938, allocations: 8.656 kB / 1.448 GB, free: 147 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008793/1.939, allocations: 194.8 kB / 1.448 GB, free: 146.9 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/1.942, allocations: 1.369 MB / 1.449 GB, free: 146.6 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/1.942, allocations: 49.59 kB / 1.45 GB, free: 146.6 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/1.942, allocations: 88.88 kB / 1.45 GB, free: 146.6 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00362/1.946, allocations: 2.265 MB / 1.452 GB, free: 146.6 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002696/1.949, allocations: 1.652 MB / 1.453 GB, free: 146.5 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-05/1.949, allocations: 3.969 kB / 1.453 GB, free: 146.5 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/1.949, allocations: 0 / 1.453 GB, free: 146.5 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/1.949, allocations: 37.94 kB / 1.453 GB, free: 146.5 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007802/1.957, allocations: 5.005 MB / 1.458 GB, free: 145.3 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/1.958, allocations: 1.176 MB / 1.46 GB, free: 145.3 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/1.96, allocations: 1.338 MB / 1.461 GB, free: 145.3 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/1.961, allocations: 1.728 MB / 1.463 GB, free: 143.4 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/1.962, allocations: 59.91 kB / 1.463 GB, free: 143.4 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=237): time 4.408e-06/1.962, allocations: 0 / 1.463 GB, free: 143.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=237): time 0.004918/1.966, allocations: 2.449 MB / 1.465 GB, free: 143.2 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/1.967, allocations: 81.44 kB / 1.465 GB, free: 143.1 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000914/1.967, allocations: 0.6567 MB / 1.466 GB, free: 143 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/1.968, allocations: 29.2 kB / 1.466 GB, free: 143 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/1.968, allocations: 360.4 kB / 1.466 GB, free: 142.8 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005167/1.968, allocations: 0.755 MB / 1.467 GB, free: 142.2 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.049e-05/1.968, allocations: 2.438 kB / 1.467 GB, free: 142.2 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.968, allocations: 392.9 kB / 1.467 GB, free: 141.9 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/1.97, allocations: 0.8461 MB / 1.468 GB, free: 141.9 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/1.971, allocations: 1.044 MB / 1.469 GB, free: 141.8 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/1.974, allocations: 1.307 MB / 1.47 GB, free: 141.8 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/1.974, allocations: 3.656 kB / 1.47 GB, free: 141.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004816/1.979, allocations: 2.542 MB / 1.473 GB, free: 141.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.979, allocations: 7.25 kB / 1.473 GB, free: 141.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/1.979, allocations: 6.984 kB / 1.473 GB, free: 141.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.616e-05/1.979, allocations: 20.25 kB / 1.473 GB, free: 141.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/1.981, allocations: 435.4 kB / 1.473 GB, free: 141.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.119e-05/1.981, allocations: 14.78 kB / 1.473 GB, free: 141.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/1.982, allocations: 177.7 kB / 1.473 GB, free: 141.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/1.982, allocations: 73.52 kB / 1.473 GB, free: 141.5 MB / 0.6982 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.000299/1.983, allocations: 143.9 kB / 1.474 GB, free: 141.4 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003576/1.983, allocations: 146 kB / 1.474 GB, free: 141.4 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005617/1.989, allocations: 2.865 MB / 1.477 GB, free: 141.2 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/1.989, allocations: 23.47 kB / 1.477 GB, free: 141.2 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.989, allocations: 0 / 1.477 GB, free: 141.2 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004202/1.993, allocations: 2.517 MB / 1.479 GB, free: 140.9 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007204/2, allocations: 4.239 MB / 1.483 GB, free: 140.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/2, allocations: 0 / 1.483 GB, free: 140.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/2.002, allocations: 413.1 kB / 1.484 GB, free: 140.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004043/2.002, allocations: 86.53 kB / 1.484 GB, free: 140.5 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/2.002, allocations: 24.64 kB / 1.484 GB, free: 140.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006143/2.003, allocations: 1.137 MB / 1.485 GB, free: 139.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.003, allocations: 3.969 kB / 1.485 GB, free: 139.5 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006696/2.01, allocations: 4.211 MB / 1.489 GB, free: 139.1 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009973/2.011, allocations: 0.4895 MB / 1.489 GB, free: 138.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003338/2.011, allocations: 3.844 kB / 1.489 GB, free: 138.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/2.012, allocations: 77.5 kB / 1.489 GB, free: 138.9 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/2.013, allocations: 121.6 kB / 1.49 GB, free: 138.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/2.013, allocations: 71.89 kB / 1.49 GB, free: 138.9 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0007241/2.013, allocations: 0.5135 MB / 1.49 GB, free: 138.8 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001837/2.015, allocations: 0.6186 MB / 1.491 GB, free: 138.7 MB / 0.6982 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.001/2.016, allocations: 0.5552 MB / 1.491 GB, free: 138.6 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.003069/2.019, allocations: 2.201 MB / 1.493 GB, free: 138.6 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/2.019, allocations: 0 / 1.493 GB, free: 138.6 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.001727/2.021, allocations: 1.233 MB / 1.495 GB, free: 138.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/2.023, allocations: 473.2 kB / 1.495 GB, free: 138.6 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005785/2.029, allocations: 3.16 MB / 1.498 GB, free: 138 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/2.031, allocations: 1.563 MB / 1.5 GB, free: 137.3 MB / 0.6982 GB Notification: Performance of SimCode: time 9.92e-07/2.031, allocations: 0 / 1.5 GB, free: 137.3 MB / 0.6982 GB Notification: Performance of Templates: time 0.05112/2.082, allocations: 31.13 MB / 1.53 GB, free: 136.5 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)