Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001083, allocations: 184.1 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4589/0.4589, allocations: 90.86 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 221.4 MB / 342.8 MB, free: 5.168 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009351/0.0009351, allocations: 97.08 kB / 415.5 MB, free: 6.395 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.812e-06/6.913e-06, allocations: 4 kB / 493.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3254, allocations: 72.3 MB / 0.5529 GB, free: 73.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.488/3.814, allocations: 1.848 GB / 2.401 GB, free: 228.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000444/3.814, allocations: 85.47 kB / 2.401 GB, free: 228.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.404/7.218, allocations: 1.009 GB / 3.411 GB, free: 72.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.433e-05/7.218, allocations: 35.7 kB / 3.411 GB, free: 72.97 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005865/7.224, allocations: 1.831 MB / 3.412 GB, free: 72.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/7.224, allocations: 12.53 kB / 3.412 GB, free: 72.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/7.227, allocations: 0.5849 MB / 3.413 GB, free: 72.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/7.23, allocations: 1.082 MB / 3.414 GB, free: 71.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006015/7.231, allocations: 186.3 kB / 3.414 GB, free: 71.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/7.231, allocations: 51.03 kB / 3.414 GB, free: 71.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001638/7.233, allocations: 1.01 MB / 3.415 GB, free: 71.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/7.234, allocations: 1.044 MB / 3.416 GB, free: 71.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/7.234, allocations: 3.938 kB / 3.416 GB, free: 71.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.473e-05/7.234, allocations: 0 / 3.416 GB, free: 71.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.537e-05/7.235, allocations: 48.33 kB / 3.416 GB, free: 71.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006828/7.241, allocations: 4.098 MB / 3.42 GB, free: 70.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/7.242, allocations: 0.7239 MB / 3.421 GB, free: 70.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006391/7.243, allocations: 0.5045 MB / 3.422 GB, free: 70.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/7.244, allocations: 0.6194 MB / 3.422 GB, free: 69.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/7.244, allocations: 43.56 kB / 3.422 GB, free: 69.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 4.518e-06/7.244, allocations: 0 / 3.422 GB, free: 69.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.002506/7.247, allocations: 1.2 MB / 3.423 GB, free: 69.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/7.247, allocations: 59.62 kB / 3.423 GB, free: 69.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006646/7.247, allocations: 0.557 MB / 3.424 GB, free: 69.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.724e-05/7.248, allocations: 29.48 kB / 3.424 GB, free: 69.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/7.248, allocations: 332.4 kB / 3.424 GB, free: 69.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/7.248, allocations: 253.5 kB / 3.425 GB, free: 68.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/7.248, allocations: 0 / 3.425 GB, free: 68.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.319e-05/7.248, allocations: 330 kB / 3.425 GB, free: 68.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/7.249, allocations: 408.9 kB / 3.425 GB, free: 68.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006167/7.249, allocations: 0.5388 MB / 3.426 GB, free: 68.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/7.25, allocations: 0.6179 MB / 3.426 GB, free: 68.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/7.25, allocations: 0 / 3.426 GB, free: 68.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002019/7.252, allocations: 1.224 MB / 3.428 GB, free: 68.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/7.252, allocations: 450.7 kB / 3.428 GB, free: 68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/7.253, allocations: 2.969 kB / 3.428 GB, free: 68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/7.253, allocations: 7.688 kB / 3.428 GB, free: 67.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/7.254, allocations: 291.5 kB / 3.428 GB, free: 67.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005668/7.255, allocations: 1.212 MB / 3.429 GB, free: 66.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/7.256, allocations: 187.5 kB / 3.43 GB, free: 66.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/7.256, allocations: 42.38 kB / 3.43 GB, free: 66.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/7.256, allocations: 3.719 kB / 3.43 GB, free: 66.79 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001908/7.258, allocations: 1.097 MB / 3.431 GB, free: 66.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/7.258, allocations: 0 / 3.431 GB, free: 66.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/7.258, allocations: 3.5 kB / 3.431 GB, free: 66.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/7.26, allocations: 272 kB / 3.431 GB, free: 66.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/7.26, allocations: 3.969 kB / 3.431 GB, free: 66.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/7.261, allocations: 187.2 kB / 3.431 GB, free: 66.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/7.261, allocations: 42.05 kB / 3.431 GB, free: 66.75 MB / 0.6198 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.0002555/7.261, allocations: 119.6 kB / 3.431 GB, free: 66.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/7.262, allocations: 94.5 kB / 3.431 GB, free: 66.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/7.264, allocations: 1.271 MB / 3.433 GB, free: 66.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/7.264, allocations: 7.406 kB / 3.433 GB, free: 66.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/7.264, allocations: 0 / 3.433 GB, free: 66.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/7.264, allocations: 3.703 kB / 3.433 GB, free: 66.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004515/7.269, allocations: 2.646 MB / 3.435 GB, free: 66.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/7.269, allocations: 5.906 kB / 3.435 GB, free: 66.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/7.27, allocations: 269 kB / 3.436 GB, free: 66.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/7.27, allocations: 11.53 kB / 3.436 GB, free: 66.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.215e-05/7.27, allocations: 17.2 kB / 3.436 GB, free: 66.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004113/7.27, allocations: 1.2 MB / 3.437 GB, free: 64.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/7.27, allocations: 7.125 kB / 3.437 GB, free: 64.91 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002256/7.273, allocations: 1.538 MB / 3.438 GB, free: 64.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006537/7.273, allocations: 315.5 kB / 3.439 GB, free: 64.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/7.274, allocations: 5.125 kB / 3.439 GB, free: 64.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/7.275, allocations: 171.2 kB / 3.439 GB, free: 64.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/7.275, allocations: 49.67 kB / 3.439 GB, free: 64.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/7.275, allocations: 37.8 kB / 3.439 GB, free: 64.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0007142/7.276, allocations: 450.4 kB / 3.439 GB, free: 64.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002399/7.278, allocations: 0.6913 MB / 3.44 GB, free: 64.02 MB / 0.6198 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.003635/7.282, allocations: 2.627 MB / 3.443 GB, free: 63.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002957/7.285, allocations: 1.602 MB / 3.444 GB, free: 63.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/7.285, allocations: 3.188 kB / 3.444 GB, free: 63.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008642/7.286, allocations: 0.5411 MB / 3.445 GB, free: 63.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/7.288, allocations: 410.9 kB / 3.445 GB, free: 63.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/7.304, allocations: 2.429 MB / 3.447 GB, free: 62.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/7.305, allocations: 1.234 MB / 3.449 GB, free: 61.88 MB / 0.6198 GB Notification: Performance of SimCode: time 1.172e-06/7.305, allocations: 3.531 kB / 3.449 GB, free: 61.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.06388/7.369, allocations: 38.38 MB / 3.486 GB, free: 55.36 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)