Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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: translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.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 8.1.4-maint.8.1.x/package.mo): time 1.563/1.563, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001094/0.001093, allocations: 189.2 kB / 366.3 MB, free: 1.977 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.786/1.786, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.001/0.001, allocations: 79.48 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.829e-06/9.839e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7844/0.7845, allocations: 116.3 MB / 0.9726 GB, free: 68.71 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.138/5.922, allocations: 2.325 GB / 3.297 GB, free: 111.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/5.922, allocations: 87.36 kB / 3.297 GB, free: 111.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.382/8.305, allocations: 0.7869 GB / 4.084 GB, free: 39.71 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.636e-05/8.305, allocations: 24 kB / 4.084 GB, free: 39.69 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003997/8.309, allocations: 1.554 MB / 4.086 GB, free: 38.08 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/8.309, allocations: 12.03 kB / 4.086 GB, free: 38.07 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/8.311, allocations: 478 kB / 4.086 GB, free: 37.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/8.313, allocations: 1.035 MB / 4.087 GB, free: 36.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005816/8.314, allocations: 173.9 kB / 4.088 GB, free: 36.35 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/8.314, allocations: 47.98 kB / 4.088 GB, free: 36.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001243/8.315, allocations: 0.7615 MB / 4.088 GB, free: 35.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/8.316, allocations: 0.8309 MB / 4.089 GB, free: 34.68 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/8.316, allocations: 0 / 4.089 GB, free: 34.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/8.316, allocations: 11.92 kB / 4.089 GB, free: 34.67 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/8.316, allocations: 33.98 kB / 4.089 GB, free: 34.64 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00597/8.322, allocations: 4.11 MB / 4.093 GB, free: 30.26 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/8.323, allocations: 0.5315 MB / 4.094 GB, free: 29.72 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004094/8.324, allocations: 336.9 kB / 4.094 GB, free: 29.39 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006854/8.324, allocations: 0.6447 MB / 4.095 GB, free: 28.62 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005613/8.325, allocations: 435.7 kB / 4.095 GB, free: 28.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.675e-06/8.325, allocations: 0 / 4.095 GB, free: 28.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.00163/8.327, allocations: 0.7453 MB / 4.096 GB, free: 27.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/8.327, allocations: 85.61 kB / 4.096 GB, free: 27.33 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006042/8.327, allocations: 0.563 MB / 4.096 GB, free: 26.76 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.105e-05/8.327, allocations: 25.7 kB / 4.096 GB, free: 26.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/8.328, allocations: 324 kB / 4.097 GB, free: 26.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/8.328, allocations: 185.3 kB / 4.097 GB, free: 26.22 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/8.328, allocations: 0 / 4.097 GB, free: 26.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.303e-05/8.328, allocations: 330 kB / 4.097 GB, free: 25.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/8.328, allocations: 261.2 kB / 4.098 GB, free: 25.64 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/8.329, allocations: 426.8 kB / 4.098 GB, free: 25.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006468/8.329, allocations: 337.2 kB / 4.098 GB, free: 24.84 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/8.329, allocations: 0 / 4.098 GB, free: 24.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001304/8.331, allocations: 0.7688 MB / 4.099 GB, free: 24.06 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001697/8.331, allocations: 0.8789 MB / 4.1 GB, free: 23.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/8.331, allocations: 0 / 4.1 GB, free: 23.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/8.331, allocations: 8 kB / 4.1 GB, free: 23.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/8.332, allocations: 267.6 kB / 4.1 GB, free: 22.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005676/8.333, allocations: 1.211 MB / 4.101 GB, free: 21.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/8.334, allocations: 179.4 kB / 4.101 GB, free: 21.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-05/8.334, allocations: 39.97 kB / 4.101 GB, free: 21.37 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/8.334, allocations: 4.625 kB / 4.102 GB, free: 21.36 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001271/8.335, allocations: 0.6547 MB / 4.102 GB, free: 20.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/8.335, allocations: 4 kB / 4.102 GB, free: 20.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/8.335, allocations: 8.25 kB / 4.102 GB, free: 20.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/8.337, allocations: 239.8 kB / 4.102 GB, free: 20.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/8.337, allocations: 7.984 kB / 4.102 GB, free: 20.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/8.338, allocations: 175.4 kB / 4.103 GB, free: 20.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.82e-05/8.338, allocations: 35.97 kB / 4.103 GB, free: 20.25 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * 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.000224/8.338, allocations: 122.9 kB / 4.103 GB, free: 20.12 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/8.338, allocations: 98.86 kB / 4.103 GB, free: 20.03 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/8.34, allocations: 0.8559 MB / 4.104 GB, free: 19.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/8.34, allocations: 11.98 kB / 4.104 GB, free: 19.15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/8.34, allocations: 3.938 kB / 4.104 GB, free: 19.14 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/8.34, allocations: 0 / 4.104 GB, free: 19.14 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/8.343, allocations: 1.939 MB / 4.106 GB, free: 17.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/8.343, allocations: 8.344 kB / 4.106 GB, free: 17.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/8.344, allocations: 235.7 kB / 4.106 GB, free: 16.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/8.344, allocations: 8 kB / 4.106 GB, free: 16.88 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/8.344, allocations: 19.97 kB / 4.106 GB, free: 16.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003925/8.345, allocations: 1.199 MB / 4.107 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/8.345, allocations: 4 kB / 4.107 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001423/8.346, allocations: 1.065 MB / 4.108 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004505/8.347, allocations: 287.8 kB / 4.108 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/8.347, allocations: 7.906 kB / 4.108 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/8.348, allocations: 155.8 kB / 4.108 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/8.348, allocations: 64.2 kB / 4.109 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.541e-05/8.348, allocations: 31.97 kB / 4.109 GB, free: 13.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005129/8.349, allocations: 443.1 kB / 4.109 GB, free: 13.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001784/8.35, allocations: 0.5965 MB / 4.11 GB, free: 12.85 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.002255/8.353, allocations: 1.868 MB / 4.111 GB, free: 10.89 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002195/8.355, allocations: 1.131 MB / 4.112 GB, free: 9.75 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/8.355, allocations: 5 kB / 4.112 GB, free: 9.746 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007284/8.356, allocations: 422 kB / 4.113 GB, free: 9.336 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/8.358, allocations: 349.1 kB / 4.113 GB, free: 8.996 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/8.361, allocations: 1.367 MB / 4.115 GB, free: 7.562 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007963/8.362, allocations: 1.168 MB / 4.116 GB, free: 6.359 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/8.362, allocations: 0 / 4.116 GB, free: 6.359 MB / 0.948 GB Notification: Performance of Templates: time 0.4376/8.799, allocations: 30.2 MB / 4.145 GB, free: 249.8 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)