Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",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 10.0.0-master/package.mo): time 2.364/2.364, allocations: 390.4 MB / 397.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 174 kB / 490.8 MB, free: 11.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.4 MB / 0.7863 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 100.3 kB / 0.9264 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.404/0.4052, allocations: 149.1 MB / 1.072 GB, free: 15.47 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9681/1.373, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.625/5.998, allocations: 1.896 GB / 3.107 GB, free: 149.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/5.999, allocations: 83.06 kB / 3.107 GB, free: 149.7 MB / 1.151 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.591/9.59, allocations: 1.011 GB / 4.119 GB, free: 14.11 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/9.59, allocations: 8 kB / 4.119 GB, free: 14.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003615/9.594, allocations: 0.5915 MB / 4.119 GB, free: 13.51 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003075/9.597, allocations: 1.082 MB / 4.12 GB, free: 12.38 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006521/9.598, allocations: 189.7 kB / 4.12 GB, free: 12.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/9.598, allocations: 51.94 kB / 4.121 GB, free: 12.14 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001864/9.6, allocations: 1.008 MB / 4.121 GB, free: 11.14 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/9.602, allocations: 1.052 MB / 4.123 GB, free: 10.07 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/9.602, allocations: 4 kB / 4.123 GB, free: 10.07 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.923e-05/9.602, allocations: 3.984 kB / 4.123 GB, free: 10.06 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-05/9.602, allocations: 45.97 kB / 4.123 GB, free: 10.02 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008193/9.61, allocations: 4.096 MB / 4.127 GB, free: 5.68 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/9.611, allocations: 0.7381 MB / 4.127 GB, free: 4.934 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007688/9.612, allocations: 0.5007 MB / 4.128 GB, free: 4.43 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/9.613, allocations: 0.6124 MB / 4.128 GB, free: 3.707 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/9.613, allocations: 47.22 kB / 4.128 GB, free: 3.652 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 4.288e-06/9.613, allocations: 0 / 4.128 GB, free: 3.652 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.002836/9.616, allocations: 1.197 MB / 4.13 GB, free: 2.445 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/9.616, allocations: 56.06 kB / 4.13 GB, free: 2.379 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009953/9.617, allocations: 0.563 MB / 4.13 GB, free: 1.809 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/9.617, allocations: 29.7 kB / 4.13 GB, free: 1.773 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/9.618, allocations: 332.2 kB / 4.131 GB, free: 1.441 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/9.618, allocations: 244.3 kB / 4.131 GB, free: 1.199 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/9.618, allocations: 4 kB / 4.131 GB, free: 1.195 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001325/9.618, allocations: 337.8 kB / 4.131 GB, free: 0.8594 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006469/9.619, allocations: 409.4 kB / 4.131 GB, free: 468 kB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6696/10.29, allocations: 0.5392 MB / 4.132 GB, free: 306.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/10.29, allocations: 0.6152 MB / 4.133 GB, free: 306.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/10.29, allocations: 0 / 4.133 GB, free: 306.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002453/10.29, allocations: 1.214 MB / 4.134 GB, free: 306.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/10.29, allocations: 457 kB / 4.134 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/10.29, allocations: 0 / 4.134 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/10.29, allocations: 7.781 kB / 4.134 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/10.29, allocations: 288 kB / 4.135 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007222/10.3, allocations: 1.209 MB / 4.136 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/10.3, allocations: 186.3 kB / 4.136 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/10.3, allocations: 36.92 kB / 4.136 GB, free: 305.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/10.3, allocations: 7.75 kB / 4.136 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002205/10.3, allocations: 1.094 MB / 4.137 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/10.3, allocations: 3.875 kB / 4.137 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/10.3, allocations: 7.062 kB / 4.137 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/10.3, allocations: 267.5 kB / 4.137 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/10.3, allocations: 8.375 kB / 4.137 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/10.3, allocations: 176 kB / 4.137 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/10.3, allocations: 38.95 kB / 4.137 GB, free: 305.2 MB / 1.167 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.0003008/10.3, allocations: 128.2 kB / 4.138 GB, free: 305.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/10.3, allocations: 94.44 kB / 4.138 GB, free: 305 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/10.31, allocations: 1.272 MB / 4.139 GB, free: 305 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/10.31, allocations: 7.156 kB / 4.139 GB, free: 305 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/10.31, allocations: 0 / 4.139 GB, free: 305 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/10.31, allocations: 4.219 kB / 4.139 GB, free: 305 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004738/10.31, allocations: 2.644 MB / 4.142 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/10.31, allocations: 3.812 kB / 4.142 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/10.31, allocations: 280.9 kB / 4.142 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/10.31, allocations: 7.344 kB / 4.142 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.931e-05/10.31, allocations: 21.84 kB / 4.142 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004896/10.31, allocations: 1.195 MB / 4.143 GB, free: 303.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/10.31, allocations: 7.219 kB / 4.143 GB, free: 303.4 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002302/10.31, allocations: 1.539 MB / 4.144 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002782/10.32, allocations: 2.061 MB / 4.147 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006671/10.32, allocations: 307.9 kB / 4.147 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/10.32, allocations: 6.672 kB / 4.147 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/10.32, allocations: 171 kB / 4.147 GB, free: 301.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/10.32, allocations: 52 kB / 4.147 GB, free: 301.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/10.32, allocations: 38.06 kB / 4.147 GB, free: 301.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0006499/10.32, allocations: 446.5 kB / 4.147 GB, free: 301.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004438/10.32, allocations: 1.287 MB / 4.149 GB, free: 301.6 MB / 1.167 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.004133/10.33, allocations: 2.638 MB / 4.151 GB, free: 300.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00345/10.33, allocations: 1.609 MB / 4.153 GB, free: 300.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/10.33, allocations: 0 / 4.153 GB, free: 300.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/10.33, allocations: 0.5401 MB / 4.153 GB, free: 300.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/10.34, allocations: 408.3 kB / 4.154 GB, free: 300.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/10.35, allocations: 2.429 MB / 4.156 GB, free: 300.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/10.35, allocations: 1.233 MB / 4.157 GB, free: 299.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.944e-06/10.35, allocations: 3.562 kB / 4.157 GB, free: 299.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)