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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.8286/0.8286, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001755/0.001755, allocations: 185.2 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.1 MB / 399.1 MB, free: 6.141 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.001214/0.001213, allocations: 81.86 kB / 476.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4171/0.4184, allocations: 82.89 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.5752, allocations: 76.76 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.786, allocations: 367.3 MB / 0.9797 GB, free: 114.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/1.787, allocations: 92.12 kB / 0.9798 GB, free: 114.7 MB / 0.6198 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 1.723/3.51, allocations: 421.2 MB / 1.391 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/3.51, allocations: 7.781 kB / 1.391 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007907/3.511, allocations: 129.5 kB / 1.391 GB, free: 106.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08984/3.601, allocations: 22.59 MB / 1.413 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.381e-05/3.601, allocations: 21.19 kB / 1.413 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003995/3.601, allocations: 47.47 kB / 1.413 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0021/3.603, allocations: 445.4 kB / 1.414 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/3.605, allocations: 0.6208 MB / 1.414 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.486e-05/3.606, allocations: 2.156 kB / 1.414 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/3.606, allocations: 0 / 1.414 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.436e-05/3.606, allocations: 22.2 kB / 1.414 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007721/3.613, allocations: 3.966 MB / 1.418 GB, free: 103.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006455/3.614, allocations: 191.9 kB / 1.419 GB, free: 103.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/3.614, allocations: 109 kB / 1.419 GB, free: 103.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003124/3.615, allocations: 343.3 kB / 1.419 GB, free: 102.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/3.615, allocations: 34.31 kB / 1.419 GB, free: 102.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=21): time 3.026e-06/3.615, allocations: 0 / 1.419 GB, free: 102.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21): time 0.001061/3.616, allocations: 267.6 kB / 1.419 GB, free: 102.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/3.616, allocations: 54.47 kB / 1.419 GB, free: 102.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/3.618, allocations: 0.6386 MB / 1.42 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.86e-05/3.618, allocations: 27.67 kB / 1.42 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004474/3.618, allocations: 400.6 kB / 1.42 GB, free: 102.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/3.619, allocations: 79.3 kB / 1.42 GB, free: 102.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/3.619, allocations: 6.234 kB / 1.42 GB, free: 102.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001218/3.619, allocations: 322.3 kB / 1.421 GB, free: 102 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/3.619, allocations: 97.62 kB / 1.421 GB, free: 102 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/3.62, allocations: 331.6 kB / 1.421 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007596/3.62, allocations: 173.2 kB / 1.421 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/3.62, allocations: 0 / 1.421 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001557/3.622, allocations: 454.8 kB / 1.422 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/3.622, allocations: 7.812 kB / 1.422 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/3.622, allocations: 3.906 kB / 1.422 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.276e-05/3.622, allocations: 10.91 kB / 1.422 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000809/3.623, allocations: 132.1 kB / 1.422 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.947e-05/3.623, allocations: 10.78 kB / 1.422 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/3.624, allocations: 92.5 kB / 1.422 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/3.625, allocations: 26.34 kB / 1.422 GB, free: 101.6 MB / 0.6355 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 0.0001683/3.625, allocations: 114 kB / 1.422 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/3.625, allocations: 84.44 kB / 1.422 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/3.626, allocations: 298.1 kB / 1.422 GB, free: 101.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/3.626, allocations: 5.938 kB / 1.422 GB, free: 101.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/3.626, allocations: 3.906 kB / 1.422 GB, free: 101.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006104/3.627, allocations: 298 kB / 1.423 GB, free: 101.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/3.63, allocations: 0.9636 MB / 1.424 GB, free: 101 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/3.63, allocations: 0 / 1.424 GB, free: 101 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000506/3.63, allocations: 64.16 kB / 1.424 GB, free: 101 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/3.63, allocations: 3.062 kB / 1.424 GB, free: 101 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.744e-05/3.63, allocations: 0 / 1.424 GB, free: 101 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/3.63, allocations: 7.672 kB / 1.424 GB, free: 101 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/3.63, allocations: 0 / 1.424 GB, free: 101 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001223/3.632, allocations: 0.5021 MB / 1.424 GB, free: 100.7 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001709/3.633, allocations: 1.031 MB / 1.425 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006892/3.634, allocations: 205.4 kB / 1.425 GB, free: 100 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003369/3.634, allocations: 3 kB / 1.425 GB, free: 100 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/3.635, allocations: 49.25 kB / 1.426 GB, free: 100 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/3.636, allocations: 17.44 kB / 1.426 GB, free: 100 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.504e-05/3.636, allocations: 10.75 kB / 1.426 GB, free: 100 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001635/3.637, allocations: 497.7 kB / 1.426 GB, free: 99.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004019/3.641, allocations: 425.5 kB / 1.426 GB, free: 99.84 MB / 0.6355 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.001765/3.643, allocations: 0.5614 MB / 1.427 GB, free: 99.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007896/3.644, allocations: 266 kB / 1.427 GB, free: 99.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/3.644, allocations: 0 / 1.427 GB, free: 99.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002585/3.644, allocations: 109.2 kB / 1.427 GB, free: 99.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003521/3.648, allocations: 423.2 kB / 1.428 GB, free: 99.69 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/3.652, allocations: 1.077 MB / 1.429 GB, free: 99.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/3.653, allocations: 1.125 MB / 1.43 GB, free: 98.62 MB / 0.6355 GB Notification: Performance of SimCode: time 2.003e-06/3.653, allocations: 0.5625 kB / 1.43 GB, free: 98.62 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)