Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7485/0.7485, allocations: 141.8 MB / 149.1 MB, free: 13.27 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 194.1 kB / 181.9 MB, free: 9.941 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 221.3 MB / 436 MB, free: 2.43 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 97.61 kB / 0.507 GB, free: 17.77 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002007/0.002007, allocations: 281.2 kB / 0.5884 GB, free: 3.934 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.216e-05/1.219e-05, allocations: 1.75 kB / 0.6759 GB, free: 136.8 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.215, allocations: 82.77 MB / 0.7567 GB, free: 83.5 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.199/5.414, allocations: 2.125 GB / 2.882 GB, free: 133.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/5.414, allocations: 81.5 kB / 2.882 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.887/8.301, allocations: 0.7965 GB / 3.679 GB, free: 111.5 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0001502/8.301, allocations: 28.3 kB / 3.679 GB, free: 111.5 MB / 0.7138 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.005163/8.307, allocations: 1.598 MB / 3.68 GB, free: 110.6 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/8.307, allocations: 7 kB / 3.68 GB, free: 110.6 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/8.309, allocations: 480.7 kB / 3.681 GB, free: 110.6 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/8.312, allocations: 1.054 MB / 3.682 GB, free: 110.2 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006319/8.313, allocations: 172.5 kB / 3.682 GB, free: 110.2 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/8.313, allocations: 45.72 kB / 3.682 GB, free: 110.2 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001559/8.315, allocations: 0.7414 MB / 3.683 GB, free: 110.2 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/8.317, allocations: 0.8403 MB / 3.683 GB, free: 110.1 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/8.317, allocations: 3.406 kB / 3.683 GB, free: 110.1 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/8.317, allocations: 0 / 3.683 GB, free: 110.1 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.138e-05/8.317, allocations: 40.86 kB / 3.683 GB, free: 110.1 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007662/8.324, allocations: 4.109 MB / 3.687 GB, free: 108.3 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008102/8.325, allocations: 0.5366 MB / 3.688 GB, free: 108.3 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004646/8.326, allocations: 340.6 kB / 3.688 GB, free: 108.3 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007451/8.327, allocations: 0.6376 MB / 3.689 GB, free: 107.6 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006198/8.327, allocations: 440 kB / 3.689 GB, free: 107.6 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=57): time 3.386e-06/8.327, allocations: 0 / 3.689 GB, free: 107.6 MB / 0.7138 GB Notification: Performance of matching and sorting (n=57): time 0.001889/8.329, allocations: 0.7449 MB / 3.69 GB, free: 107.5 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/8.329, allocations: 84.7 kB / 3.69 GB, free: 107.4 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008742/8.33, allocations: 0.5626 MB / 3.691 GB, free: 107.3 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/8.33, allocations: 32.86 kB / 3.691 GB, free: 107.2 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/8.33, allocations: 313.4 kB / 3.691 GB, free: 107 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/8.331, allocations: 184.8 kB / 3.691 GB, free: 106.9 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/8.331, allocations: 3.812 kB / 3.691 GB, free: 106.9 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 6.718e-05/8.331, allocations: 323.5 kB / 3.692 GB, free: 106.6 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/8.331, allocations: 267.7 kB / 3.692 GB, free: 106.6 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/8.332, allocations: 426.9 kB / 3.692 GB, free: 106.4 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007476/8.332, allocations: 354.6 kB / 3.693 GB, free: 106.4 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/8.332, allocations: 0 / 3.693 GB, free: 106.4 MB / 0.7138 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001488/8.334, allocations: 0.7709 MB / 3.693 GB, free: 106.3 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000185/8.334, allocations: 0.8762 MB / 3.694 GB, free: 105.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/8.334, allocations: 4.234 kB / 3.694 GB, free: 105.4 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/8.334, allocations: 3.625 kB / 3.694 GB, free: 105.4 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/8.336, allocations: 260.1 kB / 3.694 GB, free: 105.4 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00061/8.336, allocations: 1.205 MB / 3.696 GB, free: 104.2 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/8.338, allocations: 188.8 kB / 3.696 GB, free: 104.2 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/8.338, allocations: 35.8 kB / 3.696 GB, free: 104.2 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 8.116e-06/8.338, allocations: 7.75 kB / 3.696 GB, free: 104.2 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001315/8.339, allocations: 0.6556 MB / 3.696 GB, free: 104.2 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/8.339, allocations: 0 / 3.696 GB, free: 104.2 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/8.339, allocations: 11.16 kB / 3.696 GB, free: 104.2 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/8.34, allocations: 240 kB / 3.697 GB, free: 104.2 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/8.34, allocations: 7.906 kB / 3.697 GB, free: 104.2 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/8.342, allocations: 174.7 kB / 3.697 GB, free: 104.2 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.947e-05/8.342, allocations: 36.55 kB / 3.697 GB, free: 104.2 MB / 0.7138 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.0002552/8.342, allocations: 112.8 kB / 3.697 GB, free: 104 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/8.342, allocations: 92.41 kB / 3.697 GB, free: 104 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/8.344, allocations: 0.8668 MB / 3.698 GB, free: 103.9 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/8.344, allocations: 7.781 kB / 3.698 GB, free: 103.9 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.779e-05/8.344, allocations: 3.531 kB / 3.698 GB, free: 103.9 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/8.344, allocations: 7.609 kB / 3.698 GB, free: 103.9 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004123/8.348, allocations: 1.927 MB / 3.7 GB, free: 103.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/8.348, allocations: 3.906 kB / 3.7 GB, free: 103.5 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/8.35, allocations: 243.1 kB / 3.7 GB, free: 103.5 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/8.35, allocations: 3.844 kB / 3.7 GB, free: 103.5 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.966e-05/8.35, allocations: 13.83 kB / 3.7 GB, free: 103.5 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005103/8.35, allocations: 1.198 MB / 3.701 GB, free: 102.3 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/8.35, allocations: 3.656 kB / 3.701 GB, free: 102.3 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001739/8.352, allocations: 1.072 MB / 3.702 GB, free: 101.9 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007134/8.353, allocations: 281.4 kB / 3.703 GB, free: 101.7 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/8.353, allocations: 7.906 kB / 3.703 GB, free: 101.7 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/8.354, allocations: 173.6 kB / 3.703 GB, free: 101.7 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/8.355, allocations: 52.08 kB / 3.703 GB, free: 101.7 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-05/8.355, allocations: 29.56 kB / 3.703 GB, free: 101.7 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0007267/8.355, allocations: 447.4 kB / 3.703 GB, free: 101.6 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.00246/8.358, allocations: 0.5972 MB / 3.704 GB, free: 101.5 MB / 0.7138 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.002912/8.361, allocations: 1.878 MB / 3.706 GB, free: 101 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.002455/8.363, allocations: 1.136 MB / 3.707 GB, free: 100.9 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/8.363, allocations: 0 / 3.707 GB, free: 100.9 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0008317/8.364, allocations: 422.5 kB / 3.707 GB, free: 100.9 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/8.366, allocations: 342.5 kB / 3.708 GB, free: 100.9 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/8.37, allocations: 1.353 MB / 3.709 GB, free: 100.4 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/8.371, allocations: 1.167 MB / 3.71 GB, free: 99.73 MB / 0.7138 GB Notification: Performance of SimCode: time 1.403e-06/8.371, allocations: 3.375 kB / 3.71 GB, free: 99.73 MB / 0.7138 GB Notification: Performance of Templates: time 0.05431/8.426, allocations: 30.25 MB / 3.74 GB, free: 78.55 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)