Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.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.OneRoom,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom",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.7892/0.7892, allocations: 141.8 MB / 149.1 MB, free: 2.043 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.001173/0.001173, allocations: 186.5 kB / 181.9 MB, free: 1.582 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.462/1.462, allocations: 221.3 MB / 436 MB, free: 6.297 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.001027/0.001027, allocations: 100.6 kB / 0.507 GB, free: 2.969 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001773/0.001773, allocations: 278.6 kB / 0.5884 GB, free: 48 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1896/0.1914, allocations: 89.63 MB / 0.676 GB, free: 6.273 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.6037, allocations: 82.76 MB / 0.7568 GB, free: 25.42 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.724/4.327, allocations: 1.882 GB / 2.639 GB, free: 134.8 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/4.328, allocations: 95.86 kB / 2.639 GB, free: 134.8 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 2.676/7.004, allocations: 0.8123 GB / 3.451 GB, free: 92.11 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/7.004, allocations: 12 kB / 3.451 GB, free: 92.09 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003553/7.008, allocations: 453.5 kB / 3.452 GB, free: 91.65 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/7.01, allocations: 0.9012 MB / 3.452 GB, free: 90.73 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/7.01, allocations: 35.91 kB / 3.452 GB, free: 90.69 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/7.01, allocations: 59.7 kB / 3.453 GB, free: 90.64 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001858/7.012, allocations: 0.9333 MB / 3.453 GB, free: 89.7 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/7.014, allocations: 1.073 MB / 3.455 GB, free: 88.59 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/7.014, allocations: 3.594 kB / 3.455 GB, free: 88.59 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/7.014, allocations: 0 / 3.455 GB, free: 88.59 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.254e-05/7.014, allocations: 45.98 kB / 3.455 GB, free: 88.55 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005507/7.02, allocations: 5.059 MB / 3.459 GB, free: 83.22 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006701/7.021, allocations: 0.5087 MB / 3.46 GB, free: 82.7 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008192/7.021, allocations: 0.6111 MB / 3.461 GB, free: 82.11 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004804/7.022, allocations: 0.6753 MB / 3.461 GB, free: 81.29 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/7.022, allocations: 46.41 kB / 3.461 GB, free: 81.24 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=82): time 2.906e-06/7.022, allocations: 7.938 kB / 3.461 GB, free: 81.23 MB / 0.6982 GB Notification: Performance of matching and sorting (n=83): time 0.004984/7.027, allocations: 2.227 MB / 3.463 GB, free: 78.96 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/7.027, allocations: 60.19 kB / 3.464 GB, free: 78.89 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/7.028, allocations: 491.3 kB / 3.464 GB, free: 78.41 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/7.028, allocations: 25.7 kB / 3.464 GB, free: 78.38 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/7.028, allocations: 351.9 kB / 3.464 GB, free: 78.03 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/7.028, allocations: 283.7 kB / 3.465 GB, free: 77.75 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/7.028, allocations: 0 / 3.465 GB, free: 77.75 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001197/7.028, allocations: 398.6 kB / 3.465 GB, free: 77.35 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/7.029, allocations: 353.5 kB / 3.465 GB, free: 77 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/7.029, allocations: 479.5 kB / 3.466 GB, free: 76.49 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000782/7.03, allocations: 457.9 kB / 3.466 GB, free: 76.05 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/7.03, allocations: 0 / 3.466 GB, free: 76.05 MB / 0.6982 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001583/7.031, allocations: 1.02 MB / 3.467 GB, free: 75.03 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/7.031, allocations: 4 kB / 3.467 GB, free: 75.02 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/7.031, allocations: 4 kB / 3.467 GB, free: 75.02 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/7.032, allocations: 52.81 kB / 3.467 GB, free: 74.96 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008005/7.033, allocations: 179 kB / 3.467 GB, free: 74.79 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004145/7.033, allocations: 0.6148 MB / 3.468 GB, free: 74.15 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/7.034, allocations: 74.31 kB / 3.468 GB, free: 74.09 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.554e-05/7.034, allocations: 32.05 kB / 3.468 GB, free: 74.05 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000151/7.034, allocations: 123.9 kB / 3.468 GB, free: 73.93 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/7.034, allocations: 86.97 kB / 3.468 GB, free: 73.84 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/7.036, allocations: 0.9875 MB / 3.469 GB, free: 72.85 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/7.036, allocations: 8 kB / 3.469 GB, free: 72.84 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/7.036, allocations: 0 / 3.469 GB, free: 72.84 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001122/7.037, allocations: 0.9787 MB / 3.47 GB, free: 71.82 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/7.04, allocations: 2.116 MB / 3.472 GB, free: 69.68 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/7.04, allocations: 3.438 kB / 3.472 GB, free: 69.68 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/7.041, allocations: 207.7 kB / 3.473 GB, free: 69.48 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/7.041, allocations: 7.938 kB / 3.473 GB, free: 69.47 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/7.041, allocations: 7.984 kB / 3.473 GB, free: 69.46 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/7.041, allocations: 4 kB / 3.473 GB, free: 69.46 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/7.041, allocations: 0 / 3.473 GB, free: 69.46 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001842/7.043, allocations: 1.578 MB / 3.474 GB, free: 67.87 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002828/7.046, allocations: 2.646 MB / 3.477 GB, free: 65.21 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005526/7.047, allocations: 259.9 kB / 3.477 GB, free: 64.93 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/7.047, allocations: 2.75 kB / 3.477 GB, free: 64.93 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009176/7.048, allocations: 78.08 kB / 3.477 GB, free: 64.86 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/7.048, allocations: 40.72 kB / 3.477 GB, free: 64.82 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/7.048, allocations: 31.97 kB / 3.477 GB, free: 64.79 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004316/7.048, allocations: 379.2 kB / 3.477 GB, free: 64.43 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002208/7.05, allocations: 0.6834 MB / 3.478 GB, free: 63.75 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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.002262/7.053, allocations: 2.255 MB / 3.48 GB, free: 61.9 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001247/7.054, allocations: 0.8668 MB / 3.481 GB, free: 61.03 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/7.054, allocations: 0 / 3.481 GB, free: 61.03 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004768/7.055, allocations: 462.8 kB / 3.482 GB, free: 60.58 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/7.057, allocations: 498.4 kB / 3.482 GB, free: 60.13 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/7.06, allocations: 1.919 MB / 3.484 GB, free: 58.29 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008961/7.061, allocations: 1.268 MB / 3.485 GB, free: 56.99 MB / 0.6982 GB Notification: Performance of SimCode: time 6.61e-07/7.061, allocations: 0 / 3.485 GB, free: 56.99 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)