Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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.642/1.642, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001404/0.001404, allocations: 189.2 kB / 366.3 MB, free: 1.984 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.694/1.694, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.001019/0.001019, allocations: 90.81 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3094/0.3105, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8726/1.183, allocations: 116.3 MB / 0.9726 GB, free: 68.07 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.326/6.509, allocations: 2.09 GB / 3.062 GB, free: 354.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/6.509, allocations: 88.52 kB / 3.062 GB, free: 354.3 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 3.158/9.668, allocations: 1.003 GB / 4.065 GB, free: 44.22 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/9.668, allocations: 15.98 kB / 4.065 GB, free: 44.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003382/9.671, allocations: 0.5799 MB / 4.066 GB, free: 43.62 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/9.674, allocations: 1.062 MB / 4.067 GB, free: 42.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006153/9.675, allocations: 185.8 kB / 4.067 GB, free: 42.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/9.675, allocations: 52 kB / 4.067 GB, free: 42.29 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001799/9.677, allocations: 1.05 MB / 4.068 GB, free: 41.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/9.678, allocations: 1.033 MB / 4.069 GB, free: 40.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/9.679, allocations: 4 kB / 4.069 GB, free: 40.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/9.679, allocations: 0 / 4.069 GB, free: 40.18 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.464e-05/9.679, allocations: 53.97 kB / 4.069 GB, free: 40.12 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007229/9.686, allocations: 4.095 MB / 4.073 GB, free: 35.79 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/9.687, allocations: 0.7194 MB / 4.074 GB, free: 35.06 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005874/9.688, allocations: 0.5097 MB / 4.075 GB, free: 34.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000945/9.689, allocations: 0.6163 MB / 4.075 GB, free: 33.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/9.689, allocations: 43.22 kB / 4.075 GB, free: 33.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 2.685e-06/9.689, allocations: 0 / 4.075 GB, free: 33.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002483/9.691, allocations: 1.197 MB / 4.076 GB, free: 32.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/9.691, allocations: 68 kB / 4.076 GB, free: 32.49 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006652/9.692, allocations: 0.5591 MB / 4.077 GB, free: 31.93 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.811e-05/9.692, allocations: 29.7 kB / 4.077 GB, free: 31.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/9.692, allocations: 332.2 kB / 4.077 GB, free: 31.56 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/9.692, allocations: 248.2 kB / 4.078 GB, free: 31.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/9.692, allocations: 4 kB / 4.078 GB, free: 31.31 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.355e-05/9.692, allocations: 333.9 kB / 4.078 GB, free: 30.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/9.693, allocations: 405.4 kB / 4.078 GB, free: 30.58 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/9.694, allocations: 0.5386 MB / 4.079 GB, free: 30 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/9.695, allocations: 0.612 MB / 4.079 GB, free: 29.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/9.695, allocations: 0 / 4.079 GB, free: 29.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002093/9.697, allocations: 1.229 MB / 4.081 GB, free: 28.15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/9.697, allocations: 451.6 kB / 4.081 GB, free: 27.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/9.697, allocations: 0 / 4.081 GB, free: 27.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/9.697, allocations: 4 kB / 4.081 GB, free: 27.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/9.699, allocations: 287.6 kB / 4.081 GB, free: 27.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005896/9.699, allocations: 1.211 MB / 4.082 GB, free: 26.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/9.701, allocations: 187.6 kB / 4.083 GB, free: 25.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/9.701, allocations: 39.97 kB / 4.083 GB, free: 25.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/9.701, allocations: 8.531 kB / 4.083 GB, free: 25.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001879/9.703, allocations: 1.095 MB / 4.084 GB, free: 24.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/9.703, allocations: 8.094 kB / 4.084 GB, free: 24.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/9.703, allocations: 4 kB / 4.084 GB, free: 24.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/9.704, allocations: 267.7 kB / 4.084 GB, free: 24.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/9.704, allocations: 7.938 kB / 4.084 GB, free: 24.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/9.706, allocations: 175.4 kB / 4.084 GB, free: 24.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/9.706, allocations: 39.97 kB / 4.084 GB, free: 24.31 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002992/9.706, allocations: 131.7 kB / 4.084 GB, free: 24.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/9.706, allocations: 90.88 kB / 4.084 GB, free: 24.09 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/9.709, allocations: 1.267 MB / 4.086 GB, free: 22.81 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/9.709, allocations: 11.91 kB / 4.086 GB, free: 22.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/9.709, allocations: 4 kB / 4.086 GB, free: 22.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/9.709, allocations: 7.922 kB / 4.086 GB, free: 22.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004308/9.713, allocations: 2.634 MB / 4.088 GB, free: 20.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/9.713, allocations: 8 kB / 4.088 GB, free: 20.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/9.715, allocations: 276 kB / 4.089 GB, free: 19.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.895e-05/9.715, allocations: 11.94 kB / 4.089 GB, free: 19.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.66e-05/9.715, allocations: 19.89 kB / 4.089 GB, free: 19.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005255/9.715, allocations: 1.199 MB / 4.09 GB, free: 18.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/9.715, allocations: 4.188 kB / 4.09 GB, free: 18.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002412/9.718, allocations: 1.536 MB / 4.091 GB, free: 16.82 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002725/9.72, allocations: 2.054 MB / 4.093 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/9.721, allocations: 315.5 kB / 4.094 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/9.721, allocations: 4 kB / 4.094 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/9.723, allocations: 175.7 kB / 4.094 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/9.723, allocations: 56.36 kB / 4.094 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-05/9.723, allocations: 35.97 kB / 4.094 GB, free: 14.01 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005721/9.724, allocations: 443.1 kB / 4.094 GB, free: 13.58 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004719/9.728, allocations: 1.292 MB / 4.095 GB, free: 12.29 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004373/9.733, allocations: 2.623 MB / 4.098 GB, free: 9.469 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003663/9.736, allocations: 1.609 MB / 4.1 GB, free: 7.84 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/9.736, allocations: 4 kB / 4.1 GB, free: 7.836 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/9.737, allocations: 0.534 MB / 4.1 GB, free: 7.305 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/9.74, allocations: 412.3 kB / 4.101 GB, free: 6.902 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/9.755, allocations: 2.432 MB / 4.103 GB, free: 4.383 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/9.756, allocations: 1.236 MB / 4.104 GB, free: 3.117 MB / 0.948 GB Notification: Performance of SimCode: time 8.72e-07/9.756, allocations: 3.938 kB / 4.104 GB, free: 3.113 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)