Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.724/0.724, allocations: 127.4 MB / 134.7 MB, free: 9.785 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 183 kB / 164.4 MB, free: 5.461 MB / 130.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.893/1.893, allocations: 205.1 MB / 399.1 MB, free: 2.941 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001168, allocations: 87.92 kB / 476.3 MB, free: 2.59 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2191/0.2203, allocations: 82.87 MB / 0.5461 GB, free: 15.66 MB / 450.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6434/0.8638, allocations: 76.74 MB / 0.621 GB, free: 86.3 MB / 498.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.515/6.378, allocations: 2.153 GB / 2.774 GB, free: 16.11 MB / 0.6433 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/6.379, allocations: 88.19 kB / 2.774 GB, free: 16.07 MB / 0.6433 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 3.515/9.893, allocations: 0.794 GB / 3.568 GB, free: 90.33 MB / 0.6589 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/9.893, allocations: 11.38 kB / 3.568 GB, free: 90.33 MB / 0.6589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004154/9.898, allocations: 460.3 kB / 3.568 GB, free: 90.26 MB / 0.6589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/9.901, allocations: 0.9478 MB / 3.569 GB, free: 90 MB / 0.6589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/9.901, allocations: 29.88 kB / 3.569 GB, free: 90 MB / 0.6589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/9.901, allocations: 60.84 kB / 3.569 GB, free: 90 MB / 0.6589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001954/9.903, allocations: 0.9412 MB / 3.57 GB, free: 90 MB / 0.6589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/9.905, allocations: 1.08 MB / 3.571 GB, free: 89.85 MB / 0.6589 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/9.905, allocations: 7.406 kB / 3.571 GB, free: 89.85 MB / 0.6589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/9.905, allocations: 0 / 3.571 GB, free: 89.85 MB / 0.6589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.94e-05/9.905, allocations: 48.69 kB / 3.571 GB, free: 89.84 MB / 0.6589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00712/9.912, allocations: 5.055 MB / 3.576 GB, free: 86.99 MB / 0.6589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008137/9.913, allocations: 0.5208 MB / 3.577 GB, free: 86.98 MB / 0.6589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009225/9.914, allocations: 0.5959 MB / 3.577 GB, free: 86.96 MB / 0.6589 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000537/9.914, allocations: 0.6762 MB / 3.578 GB, free: 86.21 MB / 0.6589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/9.914, allocations: 47.5 kB / 3.578 GB, free: 86.17 MB / 0.6589 GB Notification: Performance of pre-optimization done (n=82): time 4.568e-06/9.914, allocations: 3.812 kB / 3.578 GB, free: 86.17 MB / 0.6589 GB Notification: Performance of matching and sorting (n=83): time 0.005976/9.92, allocations: 2.209 MB / 3.58 GB, free: 85.71 MB / 0.6589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/9.92, allocations: 63.09 kB / 3.58 GB, free: 85.65 MB / 0.6589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006931/9.921, allocations: 494.3 kB / 3.581 GB, free: 85.54 MB / 0.6589 GB Notification: Performance of collectPreVariables (initialization): time 8.901e-05/9.921, allocations: 25.7 kB / 3.581 GB, free: 85.5 MB / 0.6589 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/9.921, allocations: 358.9 kB / 3.581 GB, free: 85.33 MB / 0.6589 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/9.922, allocations: 282 kB / 3.581 GB, free: 85.18 MB / 0.6589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/9.922, allocations: 0 / 3.581 GB, free: 85.18 MB / 0.6589 GB Notification: Performance of setup shared object (initialization): time 0.0001346/9.922, allocations: 390.3 kB / 3.582 GB, free: 84.87 MB / 0.6589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/9.922, allocations: 352.6 kB / 3.582 GB, free: 84.87 MB / 0.6589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000619/9.923, allocations: 476.7 kB / 3.582 GB, free: 84.74 MB / 0.6589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009878/9.924, allocations: 451.2 kB / 3.583 GB, free: 84.73 MB / 0.6589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/9.924, allocations: 0 / 3.583 GB, free: 84.73 MB / 0.6589 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002394/9.926, allocations: 1.012 MB / 3.584 GB, free: 84.64 MB / 0.6589 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/9.927, allocations: 3.125 kB / 3.584 GB, free: 84.64 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/9.927, allocations: 8.875 kB / 3.584 GB, free: 84.64 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002832/9.927, allocations: 51.2 kB / 3.584 GB, free: 84.63 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008479/9.928, allocations: 168.6 kB / 3.584 GB, free: 84.63 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004735/9.928, allocations: 0.6158 MB / 3.585 GB, free: 84.11 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/9.93, allocations: 81.33 kB / 3.585 GB, free: 84.1 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.195e-05/9.93, allocations: 32.72 kB / 3.585 GB, free: 84.1 MB / 0.6589 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.0002489/9.93, allocations: 113.4 kB / 3.585 GB, free: 84 MB / 0.6589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/9.93, allocations: 92.72 kB / 3.585 GB, free: 83.95 MB / 0.6589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/9.932, allocations: 0.9848 MB / 3.586 GB, free: 83.89 MB / 0.6589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/9.932, allocations: 11.58 kB / 3.586 GB, free: 83.89 MB / 0.6589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/9.932, allocations: 0 / 3.586 GB, free: 83.89 MB / 0.6589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/9.934, allocations: 0.9701 MB / 3.587 GB, free: 83.62 MB / 0.6589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003776/9.937, allocations: 2.092 MB / 3.589 GB, free: 83.33 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/9.937, allocations: 0 / 3.589 GB, free: 83.33 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/9.938, allocations: 198.5 kB / 3.589 GB, free: 83.33 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/9.938, allocations: 3.906 kB / 3.589 GB, free: 83.33 MB / 0.6589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.445e-05/9.939, allocations: 13.81 kB / 3.589 GB, free: 83.33 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/9.939, allocations: 7.656 kB / 3.589 GB, free: 83.33 MB / 0.6589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/9.939, allocations: 0 / 3.589 GB, free: 83.33 MB / 0.6589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002198/9.941, allocations: 1.563 MB / 3.591 GB, free: 83.13 MB / 0.6589 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003325/9.944, allocations: 2.63 MB / 3.593 GB, free: 82.55 MB / 0.6589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000921/9.945, allocations: 263.1 kB / 3.594 GB, free: 82.41 MB / 0.6589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/9.945, allocations: 0 / 3.594 GB, free: 82.41 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/9.946, allocations: 77.5 kB / 3.594 GB, free: 82.41 MB / 0.6589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/9.947, allocations: 42.23 kB / 3.594 GB, free: 82.41 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-05/9.947, allocations: 31.39 kB / 3.594 GB, free: 82.41 MB / 0.6589 GB Notification: Performance of sort global known variables: time 0.000589/9.947, allocations: 385.2 kB / 3.594 GB, free: 82.32 MB / 0.6589 GB Notification: Performance of remove unused functions: time 0.002652/9.95, allocations: 0.684 MB / 3.595 GB, free: 82.31 MB / 0.6589 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.00367/9.954, allocations: 2.286 MB / 3.597 GB, free: 81.68 MB / 0.6589 GB Notification: Performance of simCode: created initialization part: time 0.001914/9.956, allocations: 0.8636 MB / 3.598 GB, free: 81.67 MB / 0.6589 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/9.956, allocations: 0 / 3.598 GB, free: 81.67 MB / 0.6589 GB Notification: Performance of simCode: created simulation system equations: time 0.0005962/9.956, allocations: 455.6 kB / 3.598 GB, free: 81.67 MB / 0.6589 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/9.959, allocations: 0.4955 MB / 3.599 GB, free: 81.66 MB / 0.6589 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/9.964, allocations: 1.916 MB / 3.601 GB, free: 81.25 MB / 0.6589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/9.965, allocations: 1.279 MB / 3.602 GB, free: 80.54 MB / 0.6589 GB Notification: Performance of SimCode: time 2.094e-06/9.965, allocations: 0 / 3.602 GB, free: 80.54 MB / 0.6589 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneRoom.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)