Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.39/1.39, allocations: 289.8 MB / 297.1 MB, free: 6.715 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.001086/0.001086, allocations: 181.3 kB / 366.3 MB, free: 2.035 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.114/1.114, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.000779/0.0007792, allocations: 98.17 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.231/0.2318, allocations: 122.4 MB / 0.8591 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5174/0.7492, allocations: 116.3 MB / 0.9726 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.8/4.55, allocations: 2.077 GB / 3.05 GB, free: 354 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/4.55, allocations: 90.19 kB / 3.05 GB, free: 354 MB / 0.948 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.243/6.793, allocations: 0.8017 GB / 3.852 GB, free: 168 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/6.793, allocations: 11.03 kB / 3.852 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/6.796, allocations: 453.5 kB / 3.852 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/6.798, allocations: 0.9008 MB / 3.853 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/6.798, allocations: 29.97 kB / 3.853 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/6.798, allocations: 62.59 kB / 3.853 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001422/6.799, allocations: 0.9386 MB / 3.854 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/6.801, allocations: 1.07 MB / 3.855 GB, free: 167.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/6.801, allocations: 7.562 kB / 3.855 GB, free: 167.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.542e-05/6.801, allocations: 0 / 3.855 GB, free: 167.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.606e-05/6.801, allocations: 43.94 kB / 3.855 GB, free: 167.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004892/6.806, allocations: 5.056 MB / 3.86 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006489/6.807, allocations: 0.5094 MB / 3.86 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008082/6.807, allocations: 0.6104 MB / 3.861 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00045/6.808, allocations: 0.6846 MB / 3.862 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/6.808, allocations: 40.75 kB / 3.862 GB, free: 163.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 3.015e-06/6.808, allocations: 0 / 3.862 GB, free: 163.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=83): time 0.004958/6.813, allocations: 2.225 MB / 3.864 GB, free: 163.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/6.813, allocations: 61.72 kB / 3.864 GB, free: 163.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/6.813, allocations: 492.3 kB / 3.864 GB, free: 163.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/6.814, allocations: 25.7 kB / 3.864 GB, free: 163.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/6.814, allocations: 349.3 kB / 3.865 GB, free: 163 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/6.814, allocations: 283.7 kB / 3.865 GB, free: 162.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/6.814, allocations: 3.594 kB / 3.865 GB, free: 162.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/6.814, allocations: 390.8 kB / 3.865 GB, free: 162.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004336/6.814, allocations: 354.7 kB / 3.866 GB, free: 162.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/6.815, allocations: 479.2 kB / 3.866 GB, free: 162.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007449/6.816, allocations: 461.3 kB / 3.867 GB, free: 162.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/6.816, allocations: 0 / 3.867 GB, free: 162.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001559/6.817, allocations: 1.02 MB / 3.868 GB, free: 162.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/6.817, allocations: 6.781 kB / 3.868 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/6.817, allocations: 0 / 3.868 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/6.818, allocations: 52.89 kB / 3.868 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007985/6.818, allocations: 170.2 kB / 3.868 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003865/6.819, allocations: 0.6155 MB / 3.868 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/6.82, allocations: 75.98 kB / 3.869 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/6.82, allocations: 30.67 kB / 3.869 GB, free: 161.8 MB / 0.948 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.0001551/6.82, allocations: 120.9 kB / 3.869 GB, free: 161.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/6.82, allocations: 85.62 kB / 3.869 GB, free: 161.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/6.822, allocations: 0.9895 MB / 3.87 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/6.822, allocations: 11.12 kB / 3.87 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/6.822, allocations: 0 / 3.87 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/6.823, allocations: 0.9767 MB / 3.871 GB, free: 161.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003287/6.826, allocations: 2.106 MB / 3.873 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/6.826, allocations: 0 / 3.873 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/6.827, allocations: 210.1 kB / 3.873 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/6.827, allocations: 3.938 kB / 3.873 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/6.828, allocations: 18.64 kB / 3.873 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/6.828, allocations: 0 / 3.873 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/6.828, allocations: 0 / 3.873 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001941/6.829, allocations: 1.586 MB / 3.875 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002826/6.832, allocations: 2.647 MB / 3.877 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005369/6.833, allocations: 261.5 kB / 3.877 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/6.833, allocations: 3.562 kB / 3.877 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008964/6.834, allocations: 69.45 kB / 3.877 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/6.834, allocations: 42.5 kB / 3.877 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/6.834, allocations: 33.03 kB / 3.878 GB, free: 160.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004393/6.835, allocations: 379.8 kB / 3.878 GB, free: 160 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002262/6.837, allocations: 0.6876 MB / 3.879 GB, free: 160 MB / 0.948 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.002418/6.839, allocations: 2.236 MB / 3.881 GB, free: 159.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00134/6.841, allocations: 0.8659 MB / 3.882 GB, free: 159.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/6.841, allocations: 5.531 kB / 3.882 GB, free: 159.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004859/6.841, allocations: 468.8 kB / 3.882 GB, free: 159.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/6.843, allocations: 496.3 kB / 3.882 GB, free: 159.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/6.847, allocations: 1.913 MB / 3.884 GB, free: 159 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008575/6.847, allocations: 1.273 MB / 3.886 GB, free: 158.3 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/6.847, allocations: 0 / 3.886 GB, free: 158.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)