Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [: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.7477/0.7477, allocations: 127.4 MB / 134.6 MB, free: 4.055 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001306/0.001306, allocations: 177.3 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.1 MB / 399.1 MB, free: 6.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009577/0.0009576, allocations: 82.84 kB / 476.3 MB, free: 8.879 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.358e-06/9.378e-06, allocations: 0 / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2076, allocations: 76.75 MB / 0.6209 GB, free: 13.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.443, allocations: 367.3 MB / 0.9796 GB, free: 111.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.444, allocations: 94.39 kB / 0.9797 GB, free: 111.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.791/3.234, allocations: 419.9 MB / 1.39 GB, free: 91.15 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001097/3.235, allocations: 36.12 kB / 1.39 GB, free: 91.15 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002272/3.237, allocations: 1.245 MB / 1.391 GB, free: 90.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/3.237, allocations: 7.594 kB / 1.391 GB, free: 90.73 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003669/3.237, allocations: 132.6 kB / 1.391 GB, free: 90.66 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04833/3.286, allocations: 22.59 MB / 1.413 GB, free: 89.57 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/3.286, allocations: 23.62 kB / 1.413 GB, free: 89.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/3.286, allocations: 40.66 kB / 1.413 GB, free: 89.57 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00096/3.287, allocations: 452.9 kB / 1.414 GB, free: 89.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009378/3.288, allocations: 0.6199 MB / 1.414 GB, free: 89.44 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/3.288, allocations: 3.281 kB / 1.414 GB, free: 89.44 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/3.288, allocations: 0 / 1.414 GB, free: 89.44 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/3.288, allocations: 20.03 kB / 1.414 GB, free: 89.44 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004168/3.292, allocations: 3.97 MB / 1.418 GB, free: 87.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/3.293, allocations: 194.3 kB / 1.418 GB, free: 87.09 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/3.293, allocations: 102.9 kB / 1.419 GB, free: 87.08 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002364/3.293, allocations: 347.3 kB / 1.419 GB, free: 86.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/3.293, allocations: 34.25 kB / 1.419 GB, free: 86.66 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=21): time 2.906e-06/3.293, allocations: 0 / 1.419 GB, free: 86.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.0005508/3.294, allocations: 268.4 kB / 1.419 GB, free: 86.58 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/3.294, allocations: 54.97 kB / 1.419 GB, free: 86.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007421/3.294, allocations: 0.6398 MB / 1.42 GB, free: 86.39 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/3.294, allocations: 33.42 kB / 1.42 GB, free: 86.36 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/3.295, allocations: 406.9 kB / 1.42 GB, free: 86.17 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.767e-05/3.295, allocations: 78.69 kB / 1.42 GB, free: 86.13 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/3.295, allocations: 0 / 1.42 GB, free: 86.13 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/3.295, allocations: 325 kB / 1.421 GB, free: 85.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/3.295, allocations: 94.3 kB / 1.421 GB, free: 85.83 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/3.295, allocations: 326.4 kB / 1.421 GB, free: 85.55 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/3.296, allocations: 174.2 kB / 1.421 GB, free: 85.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/3.296, allocations: 3.25 kB / 1.421 GB, free: 85.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007012/3.296, allocations: 453.7 kB / 1.422 GB, free: 85.47 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/3.296, allocations: 5.344 kB / 1.422 GB, free: 85.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/3.296, allocations: 15.02 kB / 1.422 GB, free: 85.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/3.296, allocations: 7.219 kB / 1.422 GB, free: 85.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/3.297, allocations: 124.5 kB / 1.422 GB, free: 85.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/3.297, allocations: 7.562 kB / 1.422 GB, free: 85.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/3.297, allocations: 93.2 kB / 1.422 GB, free: 85.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/3.297, allocations: 25.03 kB / 1.422 GB, free: 85.46 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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 9.731e-05/3.298, allocations: 122.5 kB / 1.422 GB, free: 85.35 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/3.298, allocations: 83.5 kB / 1.422 GB, free: 85.31 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005699/3.298, allocations: 294.1 kB / 1.422 GB, free: 85.26 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/3.298, allocations: 9.375 kB / 1.422 GB, free: 85.26 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/3.298, allocations: 3.906 kB / 1.422 GB, free: 85.26 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003304/3.299, allocations: 295.9 kB / 1.423 GB, free: 85.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/3.3, allocations: 0.9552 MB / 1.424 GB, free: 84.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/3.3, allocations: 0 / 1.424 GB, free: 84.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/3.3, allocations: 58.88 kB / 1.424 GB, free: 84.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/3.3, allocations: 0 / 1.424 GB, free: 84.81 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/3.3, allocations: 10.19 kB / 1.424 GB, free: 84.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/3.3, allocations: 7.219 kB / 1.424 GB, free: 84.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/3.3, allocations: 0 / 1.424 GB, free: 84.81 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007076/3.301, allocations: 0.5096 MB / 1.424 GB, free: 84.58 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/3.301, allocations: 200.5 kB / 1.424 GB, free: 84.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/3.301, allocations: 0 / 1.424 GB, free: 84.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/3.302, allocations: 52.61 kB / 1.424 GB, free: 84.44 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/3.302, allocations: 18.22 kB / 1.424 GB, free: 84.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/3.302, allocations: 10.83 kB / 1.424 GB, free: 84.44 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0006385/3.303, allocations: 495.3 kB / 1.425 GB, free: 84.35 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001427/3.304, allocations: 346.6 kB / 1.425 GB, free: 84.31 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001263/3.305, allocations: 0.5694 MB / 1.426 GB, free: 84.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004647/3.306, allocations: 259.9 kB / 1.426 GB, free: 84.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/3.306, allocations: 2.938 kB / 1.426 GB, free: 84.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/3.306, allocations: 104.5 kB / 1.426 GB, free: 84.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/3.308, allocations: 423.8 kB / 1.427 GB, free: 84.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/3.31, allocations: 1.079 MB / 1.428 GB, free: 83.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007267/3.311, allocations: 1.126 MB / 1.429 GB, free: 83.11 MB / 0.6511 GB Notification: Performance of SimCode: time 5.41e-07/3.311, allocations: 0 / 1.429 GB, free: 83.11 MB / 0.6511 GB Notification: Performance of Templates: time 0.02532/3.336, allocations: 16.08 MB / 1.444 GB, free: 82.64 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)