Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneOpenDoor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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/Buildings 8.0.0/package.mo): time 2.471/2.471, allocations: 284.8 MB / 292.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001584/0.001583, allocations: 177.3 kB / 360.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.1 MB / 0.6187 GB, free: 13.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 92.94 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2573/0.2586, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.585/0.8437, allocations: 115.2 MB / 0.9627 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.964, allocations: 447.2 MB / 1.399 GB, free: 119 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.965, allocations: 83.58 kB / 1.4 GB, free: 119 MB / 0.8542 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 1.407/3.371, allocations: 283.2 MB / 1.676 GB, free: 235.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/3.371, allocations: 12.16 kB / 1.676 GB, free: 235.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/3.372, allocations: 191 kB / 1.676 GB, free: 235.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00429/3.377, allocations: 1.363 MB / 1.678 GB, free: 234.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.22e-05/3.377, allocations: 49.81 kB / 1.678 GB, free: 234.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/3.377, allocations: 89.31 kB / 1.678 GB, free: 234.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00583/3.383, allocations: 2.269 MB / 1.68 GB, free: 234.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003802/3.387, allocations: 1.65 MB / 1.682 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-05/3.387, allocations: 0.5625 kB / 1.682 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/3.387, allocations: 2.906 kB / 1.682 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/3.387, allocations: 37.75 kB / 1.682 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/3.399, allocations: 4.984 MB / 1.687 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/3.402, allocations: 1.169 MB / 1.688 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002944/3.405, allocations: 1.344 MB / 1.689 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/3.406, allocations: 1.731 MB / 1.691 GB, free: 231.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/3.406, allocations: 61.88 kB / 1.691 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=237): time 4.268e-06/3.407, allocations: 0 / 1.691 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=237): time 0.009047/3.416, allocations: 2.446 MB / 1.693 GB, free: 231.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/3.416, allocations: 80.28 kB / 1.693 GB, free: 231.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/3.417, allocations: 0.6663 MB / 1.694 GB, free: 231.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000277/3.417, allocations: 25.7 kB / 1.694 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/3.418, allocations: 356.9 kB / 1.694 GB, free: 230.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007895/3.418, allocations: 0.76 MB / 1.695 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/3.418, allocations: 0 / 1.695 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001387/3.419, allocations: 395 kB / 1.695 GB, free: 230.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002221/3.421, allocations: 0.8433 MB / 1.696 GB, free: 230.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/3.423, allocations: 1.048 MB / 1.697 GB, free: 229.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005163/3.428, allocations: 1.297 MB / 1.698 GB, free: 229.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/3.428, allocations: 3.969 kB / 1.698 GB, free: 229.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.008195/3.437, allocations: 2.546 MB / 1.701 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/3.437, allocations: 4.906 kB / 1.701 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/3.437, allocations: 3.812 kB / 1.701 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.336e-05/3.437, allocations: 19.59 kB / 1.701 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003856/3.441, allocations: 441.5 kB / 1.701 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.451e-05/3.441, allocations: 15 kB / 1.701 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/3.443, allocations: 172.1 kB / 1.702 GB, free: 228.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000299/3.444, allocations: 73.61 kB / 1.702 GB, free: 228.4 MB / 0.9323 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.0004776/3.444, allocations: 135 kB / 1.702 GB, free: 228.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004864/3.445, allocations: 143.5 kB / 1.702 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/3.456, allocations: 2.876 MB / 1.705 GB, free: 227.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.401e-05/3.456, allocations: 23.78 kB / 1.705 GB, free: 227.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/3.456, allocations: 0 / 1.705 GB, free: 227.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0091/3.465, allocations: 2.523 MB / 1.707 GB, free: 226.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/3.48, allocations: 4.24 MB / 1.711 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/3.48, allocations: 4.5 kB / 1.711 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003744/3.484, allocations: 411.8 kB / 1.712 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006457/3.485, allocations: 82.59 kB / 1.712 GB, free: 224.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002409/3.485, allocations: 22.27 kB / 1.712 GB, free: 224.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009243/3.486, allocations: 1.13 MB / 1.713 GB, free: 223.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/3.486, allocations: 0 / 1.713 GB, free: 223.8 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01315/3.499, allocations: 4.224 MB / 1.717 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01789/3.517, allocations: 6.12 MB / 1.723 GB, free: 219.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/3.519, allocations: 0.4909 MB / 1.724 GB, free: 219.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004131/3.519, allocations: 3.609 kB / 1.724 GB, free: 219.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002069/3.521, allocations: 76.3 kB / 1.724 GB, free: 219.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003578/3.522, allocations: 126.7 kB / 1.724 GB, free: 219.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000221/3.522, allocations: 74.72 kB / 1.724 GB, free: 219.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001007/3.523, allocations: 0.5133 MB / 1.724 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003712/3.527, allocations: 0.6841 MB / 1.725 GB, free: 219 MB / 0.9323 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.001395/3.528, allocations: 0.5516 MB / 1.725 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005731/3.534, allocations: 2.199 MB / 1.728 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/3.534, allocations: 0 / 1.728 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003206/3.537, allocations: 1.232 MB / 1.729 GB, free: 217.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004611/3.542, allocations: 461.9 kB / 1.729 GB, free: 217.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009272/3.551, allocations: 3.182 MB / 1.732 GB, free: 216.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002516/3.554, allocations: 1.574 MB / 1.734 GB, free: 215.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.312e-06/3.554, allocations: 3.438 kB / 1.734 GB, free: 215.9 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)