Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo): time 0.4728/0.4728, allocations: 94.73 MB / 102 MB, free: 14.77 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001131/0.001131, allocations: 181.8 kB / 125.3 MB, free: 15.96 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.251/1.251, allocations: 170.5 MB / 319 MB, free: 13.5 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001549/0.001549, allocations: 103.3 kB / 381 MB, free: 19.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 8.867e-06/8.887e-06, allocations: 0 / 448.6 MB, free: 6.094 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1558, allocations: 61.52 MB / 0.4981 GB, free: 8.473 MB / 398.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.9/12.05, allocations: 5.269 GB / 5.767 GB, free: 126.7 MB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/12.05, allocations: 82.2 kB / 5.768 GB, free: 126.7 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.565/15.62, allocations: 0.9598 GB / 6.727 GB, free: 61.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002782/15.62, allocations: 39.75 kB / 6.727 GB, free: 61.73 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.01368/15.63, allocations: 2.546 MB / 6.73 GB, free: 60.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/15.63, allocations: 11.09 kB / 6.73 GB, free: 60.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/15.64, allocations: 179.2 kB / 6.73 GB, free: 60.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00457/15.64, allocations: 1.32 MB / 6.731 GB, free: 60.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/15.64, allocations: 33.25 kB / 6.731 GB, free: 60.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000564/15.64, allocations: 70.91 kB / 6.731 GB, free: 60.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00391/15.65, allocations: 1.441 MB / 6.733 GB, free: 60.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/15.65, allocations: 1.158 MB / 6.734 GB, free: 60.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/15.65, allocations: 0 / 6.734 GB, free: 60.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/15.65, allocations: 6.781 kB / 6.734 GB, free: 60.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.906e-05/15.65, allocations: 63.8 kB / 6.734 GB, free: 60.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00891/15.66, allocations: 4.174 MB / 6.738 GB, free: 59.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/15.66, allocations: 0.8152 MB / 6.739 GB, free: 59.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007045/15.66, allocations: 0.5022 MB / 6.739 GB, free: 59.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/15.66, allocations: 1.43 MB / 6.741 GB, free: 57.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/15.66, allocations: 46.72 kB / 6.741 GB, free: 57.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=97): time 3.437e-06/15.66, allocations: 0 / 6.741 GB, free: 57.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=97): time 0.003144/15.66, allocations: 1.249 MB / 6.742 GB, free: 57.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/15.66, allocations: 61.84 kB / 6.742 GB, free: 57.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/15.67, allocations: 0.6228 MB / 6.743 GB, free: 57.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001517/15.67, allocations: 27.67 kB / 6.743 GB, free: 57.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/15.67, allocations: 447.3 kB / 6.743 GB, free: 57.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/15.67, allocations: 319.7 kB / 6.743 GB, free: 57.03 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/15.67, allocations: 2.562 kB / 6.743 GB, free: 57.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001143/15.67, allocations: 352.2 kB / 6.744 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006968/15.67, allocations: 457 kB / 6.744 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007611/15.67, allocations: 0.6045 MB / 6.745 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/15.67, allocations: 0.7873 MB / 6.746 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/15.67, allocations: 0 / 6.746 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003497/15.67, allocations: 1.513 MB / 6.747 GB, free: 56.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003585/15.67, allocations: 1.229 MB / 6.748 GB, free: 55.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/15.67, allocations: 5.406 kB / 6.748 GB, free: 55.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.504e-05/15.67, allocations: 10.06 kB / 6.748 GB, free: 55.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/15.68, allocations: 317.8 kB / 6.749 GB, free: 55.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009014/15.68, allocations: 1.224 MB / 6.75 GB, free: 53.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/15.68, allocations: 136 kB / 6.75 GB, free: 53.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/15.68, allocations: 56.86 kB / 6.75 GB, free: 53.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/15.68, allocations: 6.031 kB / 6.75 GB, free: 53.96 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003455/15.68, allocations: 1.346 MB / 6.751 GB, free: 53.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/15.68, allocations: 3.75 kB / 6.751 GB, free: 53.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/15.68, allocations: 7.281 kB / 6.751 GB, free: 53.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/15.68, allocations: 263.6 kB / 6.752 GB, free: 53.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.974e-05/15.68, allocations: 9 kB / 6.752 GB, free: 53.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/15.68, allocations: 117.1 kB / 6.752 GB, free: 53.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/15.68, allocations: 61.83 kB / 6.752 GB, free: 53.93 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (126): * Single equations (assignments): 123 * 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.0004204/15.69, allocations: 130.9 kB / 6.752 GB, free: 53.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/15.69, allocations: 108.4 kB / 6.752 GB, free: 53.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004118/15.69, allocations: 1.63 MB / 6.754 GB, free: 53.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/15.69, allocations: 10.38 kB / 6.754 GB, free: 53.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/15.69, allocations: 9.625 kB / 6.754 GB, free: 53.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/15.69, allocations: 8.625 kB / 6.754 GB, free: 53.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005911/15.7, allocations: 2.508 MB / 6.756 GB, free: 53.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/15.7, allocations: 9.5 kB / 6.756 GB, free: 53.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/15.7, allocations: 278.9 kB / 6.756 GB, free: 53.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.219e-05/15.7, allocations: 3.906 kB / 6.756 GB, free: 53.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.068e-05/15.7, allocations: 21.42 kB / 6.756 GB, free: 53.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006565/15.7, allocations: 1.223 MB / 6.758 GB, free: 52.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/15.7, allocations: 5.125 kB / 6.758 GB, free: 52.11 MB / 0.5606 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003076/15.7, allocations: 1.578 MB / 6.759 GB, free: 51.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008694/15.7, allocations: 358.2 kB / 6.759 GB, free: 51.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/15.7, allocations: 11.67 kB / 6.759 GB, free: 51.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/15.7, allocations: 76.98 kB / 6.76 GB, free: 51.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/15.7, allocations: 71.98 kB / 6.76 GB, free: 51.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/15.7, allocations: 61.95 kB / 6.76 GB, free: 51.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 0.000705/15.7, allocations: 0.4941 MB / 6.76 GB, free: 51.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003848/15.71, allocations: 1.042 MB / 6.761 GB, free: 51.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 106 * 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.004291/15.71, allocations: 2.191 MB / 6.763 GB, free: 50.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003938/15.72, allocations: 1.943 MB / 6.765 GB, free: 50.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/15.72, allocations: 0 / 6.765 GB, free: 50.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/15.72, allocations: 0.6356 MB / 6.766 GB, free: 50.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/15.72, allocations: 462.1 kB / 6.766 GB, free: 50.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004486/15.72, allocations: 1.751 MB / 6.768 GB, free: 50.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/15.73, allocations: 1.366 MB / 6.769 GB, free: 49.48 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/15.73, allocations: 0 / 6.769 GB, free: 49.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.06355/15.79, allocations: 40.94 MB / 6.809 GB, free: 48.65 MB / 0.5606 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)