Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_dev_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.001969/0.001969, allocations: 183.3 kB / 7.463 MB, free: 484 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7069/0.7069, allocations: 133.5 MB / 141.4 MB, free: 3.727 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.83/1.83, allocations: 221.3 MB / 395 MB, free: 14.05 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 108.5 kB / 477.8 MB, free: 3.969 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.6064/0.6076, allocations: 88.42 MB / 0.5529 GB, free: 90.84 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.8231, allocations: 82.3 MB / 0.6333 GB, free: 38.46 MB / 462.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.162/5.985, allocations: 1.897 GB / 2.53 GB, free: 86.34 MB / 0.6856 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/5.985, allocations: 91.67 kB / 2.53 GB, free: 86.26 MB / 0.6856 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.919/12.9, allocations: 1.758 GB / 4.287 GB, free: 62.21 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/12.9, allocations: 6.031 kB / 4.287 GB, free: 62.21 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008129/12.91, allocations: 0.9778 MB / 4.288 GB, free: 62.05 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005367/12.92, allocations: 1.972 MB / 4.29 GB, free: 61.71 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/12.92, allocations: 82.91 kB / 4.29 GB, free: 61.71 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006253/12.92, allocations: 161.3 kB / 4.291 GB, free: 61.71 MB / 0.7481 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005504/12.92, allocations: 3.086 MB / 4.294 GB, free: 61.69 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005057/12.93, allocations: 2.948 MB / 4.296 GB, free: 61.38 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.122e-05/12.93, allocations: 11.25 kB / 4.296 GB, free: 61.38 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/12.93, allocations: 6.438 kB / 4.296 GB, free: 61.38 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/12.93, allocations: 123.2 kB / 4.297 GB, free: 61.37 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/12.95, allocations: 12.82 MB / 4.309 GB, free: 54.97 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003821/12.95, allocations: 2.683 MB / 4.312 GB, free: 54.9 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002525/12.95, allocations: 1.841 MB / 4.314 GB, free: 54.88 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/12.96, allocations: 1.497 MB / 4.315 GB, free: 53.28 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/12.96, allocations: 66.28 kB / 4.315 GB, free: 53.23 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=278): time 4.018e-06/12.96, allocations: 0 / 4.315 GB, free: 53.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=278): time 0.00794/12.96, allocations: 3.178 MB / 4.318 GB, free: 53.01 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/12.96, allocations: 88.53 kB / 4.318 GB, free: 52.94 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/12.96, allocations: 1.022 MB / 4.319 GB, free: 52.79 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002404/12.97, allocations: 29.42 kB / 4.319 GB, free: 52.76 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/12.97, allocations: 0.7153 MB / 4.32 GB, free: 52.36 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000952/12.97, allocations: 0.9069 MB / 4.321 GB, free: 51.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/12.97, allocations: 0 / 4.321 GB, free: 51.73 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001519/12.97, allocations: 404.5 kB / 4.321 GB, free: 51.43 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/12.97, allocations: 1.137 MB / 4.322 GB, free: 51.42 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/12.97, allocations: 1.458 MB / 4.324 GB, free: 51.15 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003268/12.97, allocations: 1.548 MB / 4.325 GB, free: 51.11 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/12.97, allocations: 0 / 4.325 GB, free: 51.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006101/12.98, allocations: 3.222 MB / 4.328 GB, free: 50.89 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/12.98, allocations: 7.672 kB / 4.328 GB, free: 50.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/12.98, allocations: 3.562 kB / 4.328 GB, free: 50.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-05/12.98, allocations: 17.66 kB / 4.328 GB, free: 50.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002564/12.98, allocations: 0.5327 MB / 4.329 GB, free: 50.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/12.98, allocations: 15.56 kB / 4.329 GB, free: 50.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00352/12.99, allocations: 283.5 kB / 4.329 GB, free: 50.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/12.99, allocations: 89.33 kB / 4.329 GB, free: 50.79 MB / 0.7481 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.0004648/12.99, allocations: 144.4 kB / 4.33 GB, free: 50.68 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005553/12.99, allocations: 225.2 kB / 4.33 GB, free: 50.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006279/12.99, allocations: 3.33 MB / 4.333 GB, free: 50.41 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/12.99, allocations: 28.47 kB / 4.333 GB, free: 50.41 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/12.99, allocations: 0 / 4.333 GB, free: 50.41 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004435/13, allocations: 2.854 MB / 4.336 GB, free: 50.17 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/13.01, allocations: 6.294 MB / 4.342 GB, free: 49.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/13.01, allocations: 0 / 4.342 GB, free: 49.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002887/13.01, allocations: 0.5729 MB / 4.342 GB, free: 49.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.293e-05/13.01, allocations: 11.03 kB / 4.343 GB, free: 49.64 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001929/13.01, allocations: 33.16 kB / 4.343 GB, free: 49.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/13.01, allocations: 15.91 kB / 4.343 GB, free: 49.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/13.01, allocations: 0 / 4.343 GB, free: 49.64 MB / 0.7481 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007784/13.02, allocations: 5.126 MB / 4.348 GB, free: 49.26 MB / 0.7481 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01169/13.03, allocations: 7.731 MB / 4.355 GB, free: 48.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002725/13.04, allocations: 0.6292 MB / 4.356 GB, free: 48.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006703/13.04, allocations: 8.188 kB / 4.356 GB, free: 48.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002554/13.04, allocations: 183.6 kB / 4.356 GB, free: 48.22 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/13.04, allocations: 138.2 kB / 4.356 GB, free: 48.22 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002174/13.04, allocations: 90.53 kB / 4.356 GB, free: 48.22 MB / 0.7481 GB Notification: Performance of sort global known variables: time 0.00121/13.04, allocations: 0.7849 MB / 4.357 GB, free: 48.11 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005212/13.05, allocations: 1.744 MB / 4.359 GB, free: 47.98 MB / 0.7481 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.006161/13.05, allocations: 4.689 MB / 4.363 GB, free: 46.04 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004741/13.06, allocations: 2.853 MB / 4.366 GB, free: 45.98 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/13.06, allocations: 3.594 kB / 4.366 GB, free: 45.98 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00201/13.06, allocations: 1.534 MB / 4.367 GB, free: 45.97 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006073/13.06, allocations: 1.086 MB / 4.369 GB, free: 45.95 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009687/13.07, allocations: 5.266 MB / 4.374 GB, free: 45 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002658/13.08, allocations: 2.299 MB / 4.376 GB, free: 44.23 MB / 0.7481 GB Notification: Performance of SimCode: time 8.32e-07/13.08, allocations: 0 / 4.376 GB, free: 44.23 MB / 0.7481 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)