Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.004649/0.004649, allocations: 180.8 kB / 7.457 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7399/0.7399, 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.701/1.701, allocations: 221.3 MB / 395 MB, free: 10.19 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.001141/0.001141, allocations: 101.3 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5849/0.5861, allocations: 88.42 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.8084, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.094/5.903, allocations: 1.897 GB / 2.53 GB, free: 50.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/5.903, allocations: 87.48 kB / 2.53 GB, free: 50.17 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 6.857/12.76, allocations: 1.758 GB / 4.287 GB, free: 62.72 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/12.76, allocations: 9.094 kB / 4.287 GB, free: 62.72 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008318/12.77, allocations: 0.9754 MB / 4.288 GB, free: 62.55 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007045/12.78, allocations: 1.974 MB / 4.29 GB, free: 62.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/12.78, allocations: 80.72 kB / 4.29 GB, free: 62.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001159/12.78, allocations: 157.6 kB / 4.291 GB, free: 62.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006689/12.78, allocations: 3.096 MB / 4.294 GB, free: 62.1 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006183/12.79, allocations: 2.945 MB / 4.296 GB, free: 61.79 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.808e-05/12.79, allocations: 10.81 kB / 4.296 GB, free: 61.79 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002776/12.79, allocations: 3.25 kB / 4.296 GB, free: 61.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/12.79, allocations: 126.2 kB / 4.297 GB, free: 61.78 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01787/12.81, allocations: 12.8 MB / 4.309 GB, free: 55.29 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003994/12.81, allocations: 2.683 MB / 4.312 GB, free: 55.22 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/12.81, allocations: 1.84 MB / 4.314 GB, free: 55.19 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/12.82, allocations: 1.501 MB / 4.315 GB, free: 53.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.178e-05/12.82, allocations: 61.91 kB / 4.315 GB, free: 53.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=278): time 4.539e-06/12.82, allocations: 0 / 4.315 GB, free: 53.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=278): time 0.008429/12.82, allocations: 3.184 MB / 4.318 GB, free: 53.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/12.82, allocations: 80.38 kB / 4.318 GB, free: 53.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/12.83, allocations: 1.027 MB / 4.319 GB, free: 53.1 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003336/12.83, allocations: 27.77 kB / 4.319 GB, free: 53.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006361/12.83, allocations: 0.7191 MB / 4.32 GB, free: 52.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001378/12.83, allocations: 0.9025 MB / 4.321 GB, free: 52.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/12.83, allocations: 3.281 kB / 4.321 GB, free: 52.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002177/12.83, allocations: 406 kB / 4.321 GB, free: 51.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/12.83, allocations: 1.14 MB / 4.322 GB, free: 51.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/12.83, allocations: 1.447 MB / 4.324 GB, free: 51.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003368/12.84, allocations: 1.554 MB / 4.325 GB, free: 51.42 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/12.84, allocations: 3.75 kB / 4.325 GB, free: 51.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006328/12.84, allocations: 3.223 MB / 4.328 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/12.84, allocations: 3.656 kB / 4.328 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/12.84, allocations: 7.766 kB / 4.328 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.144e-05/12.84, allocations: 16.31 kB / 4.328 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/12.85, allocations: 0.5303 MB / 4.329 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-05/12.85, allocations: 21.45 kB / 4.329 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003714/12.85, allocations: 282.4 kB / 4.329 GB, free: 51.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/12.85, allocations: 93.23 kB / 4.329 GB, free: 51.1 MB / 0.7448 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.0004398/12.85, allocations: 140 kB / 4.329 GB, free: 50.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005388/12.85, allocations: 224.2 kB / 4.33 GB, free: 50.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006375/12.86, allocations: 3.332 MB / 4.333 GB, free: 50.72 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/12.86, allocations: 30.61 kB / 4.333 GB, free: 50.72 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/12.86, allocations: 0 / 4.333 GB, free: 50.72 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004501/12.86, allocations: 2.848 MB / 4.336 GB, free: 50.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/12.87, allocations: 6.31 MB / 4.342 GB, free: 49.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/12.87, allocations: 10.69 kB / 4.342 GB, free: 49.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002994/12.88, allocations: 0.5702 MB / 4.342 GB, free: 49.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.503e-05/12.88, allocations: 11.36 kB / 4.343 GB, free: 49.94 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002145/12.88, allocations: 33.55 kB / 4.343 GB, free: 49.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.879e-05/12.88, allocations: 9.969 kB / 4.343 GB, free: 49.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/12.88, allocations: 0 / 4.343 GB, free: 49.94 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008529/12.89, allocations: 5.133 MB / 4.348 GB, free: 49.56 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01303/12.9, allocations: 7.726 MB / 4.355 GB, free: 48.79 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002208/12.9, allocations: 0.6198 MB / 4.356 GB, free: 48.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004892/12.9, allocations: 14.25 kB / 4.356 GB, free: 48.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003884/12.91, allocations: 181.5 kB / 4.356 GB, free: 48.53 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003975/12.91, allocations: 134.8 kB / 4.356 GB, free: 48.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003243/12.91, allocations: 90.88 kB / 4.356 GB, free: 48.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.001768/12.91, allocations: 0.7841 MB / 4.357 GB, free: 48.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007725/12.92, allocations: 1.746 MB / 4.359 GB, free: 48.29 MB / 0.7448 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.009553/12.93, allocations: 4.69 MB / 4.363 GB, free: 46.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007637/12.93, allocations: 2.864 MB / 4.366 GB, free: 46.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/12.93, allocations: 0 / 4.366 GB, free: 46.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003461/12.94, allocations: 1.531 MB / 4.367 GB, free: 46.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00927/12.95, allocations: 1.077 MB / 4.369 GB, free: 46.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/12.96, allocations: 5.278 MB / 4.374 GB, free: 45.31 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004164/12.97, allocations: 2.284 MB / 4.376 GB, free: 44.54 MB / 0.7448 GB Notification: Performance of SimCode: time 1.543e-06/12.97, allocations: 0 / 4.376 GB, free: 44.54 MB / 0.7448 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)