Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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/BuildingSystems 2.0.0-master/package.mo): time 0.7612/0.7612, allocations: 141.8 MB / 149.1 MB, free: 12.12 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 181.6 kB / 181.9 MB, free: 8.883 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.375/1.375, allocations: 221.3 MB / 436 MB, free: 1.109 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.001049/0.001049, allocations: 99.25 kB / 0.507 GB, free: 17.68 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001952/0.001953, allocations: 281.4 kB / 0.5885 GB, free: 2.824 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4828/0.4848, allocations: 89.63 MB / 0.676 GB, free: 136.1 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.6873, allocations: 82.79 MB / 0.7568 GB, free: 81.39 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.518/5.206, allocations: 1.894 GB / 2.65 GB, free: 93.18 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/5.206, allocations: 95.88 kB / 2.65 GB, free: 93.1 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 6.794/12, allocations: 1.756 GB / 4.407 GB, free: 60.29 MB / 0.7607 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/12, allocations: 11.97 kB / 4.407 GB, free: 60.29 MB / 0.7607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008358/12.01, allocations: 0.9771 MB / 4.408 GB, free: 60.12 MB / 0.7607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006626/12.02, allocations: 1.926 MB / 4.41 GB, free: 59.79 MB / 0.7607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/12.02, allocations: 87.91 kB / 4.41 GB, free: 59.79 MB / 0.7607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001392/12.02, allocations: 160.2 kB / 4.41 GB, free: 59.79 MB / 0.7607 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008102/12.02, allocations: 3.09 MB / 4.413 GB, free: 59.77 MB / 0.7607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009562/12.03, allocations: 2.951 MB / 4.416 GB, free: 59.46 MB / 0.7607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000152/12.03, allocations: 7.219 kB / 4.416 GB, free: 59.46 MB / 0.7607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008245/12.04, allocations: 7.031 kB / 4.416 GB, free: 59.46 MB / 0.7607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/12.04, allocations: 129.6 kB / 4.416 GB, free: 59.45 MB / 0.7607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02348/12.06, allocations: 12.79 MB / 4.428 GB, free: 53.02 MB / 0.7607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005325/12.06, allocations: 2.688 MB / 4.431 GB, free: 52.95 MB / 0.7607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003578/12.07, allocations: 1.847 MB / 4.433 GB, free: 52.93 MB / 0.7607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/12.07, allocations: 1.494 MB / 4.434 GB, free: 51.33 MB / 0.7607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.862e-05/12.07, allocations: 64.88 kB / 4.434 GB, free: 51.29 MB / 0.7607 GB Notification: Performance of pre-optimization done (n=278): time 5.02e-06/12.07, allocations: 0 / 4.434 GB, free: 51.29 MB / 0.7607 GB Notification: Performance of matching and sorting (n=278): time 0.009456/12.08, allocations: 3.184 MB / 4.438 GB, free: 51.06 MB / 0.7607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/12.08, allocations: 81 kB / 4.438 GB, free: 50.99 MB / 0.7607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/12.08, allocations: 1.012 MB / 4.439 GB, free: 50.84 MB / 0.7607 GB Notification: Performance of collectPreVariables (initialization): time 0.000391/12.08, allocations: 29.27 kB / 4.439 GB, free: 50.81 MB / 0.7607 GB Notification: Performance of collectInitialEqns (initialization): time 0.000496/12.08, allocations: 0.7115 MB / 4.439 GB, free: 50.41 MB / 0.7607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/12.08, allocations: 0.9084 MB / 4.44 GB, free: 49.79 MB / 0.7607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/12.08, allocations: 0 / 4.44 GB, free: 49.79 MB / 0.7607 GB Notification: Performance of setup shared object (initialization): time 0.0002269/12.08, allocations: 400.3 kB / 4.441 GB, free: 49.48 MB / 0.7607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/12.09, allocations: 1.139 MB / 4.442 GB, free: 49.48 MB / 0.7607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/12.09, allocations: 1.453 MB / 4.443 GB, free: 49.2 MB / 0.7607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003698/12.09, allocations: 1.56 MB / 4.445 GB, free: 49.16 MB / 0.7607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-05/12.09, allocations: 6.531 kB / 4.445 GB, free: 49.15 MB / 0.7607 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.007145/12.1, allocations: 3.214 MB / 4.448 GB, free: 48.93 MB / 0.7607 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/12.1, allocations: 6.656 kB / 4.448 GB, free: 48.93 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/12.1, allocations: 6.953 kB / 4.448 GB, free: 48.93 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.551e-05/12.1, allocations: 17.47 kB / 4.448 GB, free: 48.93 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002821/12.1, allocations: 0.5336 MB / 4.448 GB, free: 48.93 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.284e-05/12.1, allocations: 17.44 kB / 4.448 GB, free: 48.93 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004117/12.11, allocations: 274.7 kB / 4.449 GB, free: 48.84 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004721/12.11, allocations: 92.36 kB / 4.449 GB, free: 48.84 MB / 0.7607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.0008258/12.11, allocations: 143.8 kB / 4.449 GB, free: 48.73 MB / 0.7607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/12.11, allocations: 220.9 kB / 4.449 GB, free: 48.62 MB / 0.7607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008716/12.12, allocations: 3.338 MB / 4.452 GB, free: 48.46 MB / 0.7607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/12.12, allocations: 26.44 kB / 4.452 GB, free: 48.46 MB / 0.7607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/12.12, allocations: 3.188 kB / 4.452 GB, free: 48.46 MB / 0.7607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005384/12.12, allocations: 2.857 MB / 4.455 GB, free: 48.22 MB / 0.7607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/12.14, allocations: 6.287 MB / 4.461 GB, free: 47.7 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/12.14, allocations: 1.25 kB / 4.461 GB, free: 47.7 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003005/12.14, allocations: 0.5744 MB / 4.462 GB, free: 47.7 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.652e-05/12.14, allocations: 12.66 kB / 4.462 GB, free: 47.7 MB / 0.7607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002901/12.14, allocations: 33.34 kB / 4.462 GB, free: 47.7 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.336e-05/12.14, allocations: 12.45 kB / 4.462 GB, free: 47.7 MB / 0.7607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/12.14, allocations: 0 / 4.462 GB, free: 47.7 MB / 0.7607 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008196/12.15, allocations: 5.124 MB / 4.467 GB, free: 47.32 MB / 0.7607 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0116/12.16, allocations: 7.728 MB / 4.474 GB, free: 46.54 MB / 0.7607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002048/12.16, allocations: 0.6222 MB / 4.475 GB, free: 46.3 MB / 0.7607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007801/12.16, allocations: 6.281 kB / 4.475 GB, free: 46.3 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003076/12.17, allocations: 185.1 kB / 4.475 GB, free: 46.29 MB / 0.7607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/12.17, allocations: 139.8 kB / 4.475 GB, free: 46.28 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002648/12.17, allocations: 86.5 kB / 4.475 GB, free: 46.28 MB / 0.7607 GB Notification: Performance of sort global known variables: time 0.001657/12.17, allocations: 0.7746 MB / 4.476 GB, free: 46.17 MB / 0.7607 GB Notification: Performance of remove unused functions: time 0.006707/12.17, allocations: 1.738 MB / 4.478 GB, free: 46.05 MB / 0.7607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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.006294/12.18, allocations: 4.712 MB / 4.483 GB, free: 44.07 MB / 0.7607 GB Notification: Performance of simCode: created initialization part: time 0.005236/12.19, allocations: 2.861 MB / 4.485 GB, free: 44.02 MB / 0.7607 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/12.19, allocations: 0 / 4.485 GB, free: 44.02 MB / 0.7607 GB Notification: Performance of simCode: created simulation system equations: time 0.002457/12.19, allocations: 1.531 MB / 4.487 GB, free: 44.01 MB / 0.7607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00645/12.2, allocations: 1.089 MB / 4.488 GB, free: 43.98 MB / 0.7607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/12.21, allocations: 5.248 MB / 4.493 GB, free: 43.04 MB / 0.7607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003624/12.21, allocations: 2.285 MB / 4.495 GB, free: 42.28 MB / 0.7607 GB Notification: Performance of SimCode: time 9.52e-07/12.21, allocations: 0 / 4.495 GB, free: 42.28 MB / 0.7607 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)