Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") [: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.0.1-maint.8.0.x/package.mo): time 1.611/1.611, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.001602/0.001602, allocations: 177.3 kB / 361.1 MB, free: 7.082 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.601/1.601, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0009556/0.0009558, allocations: 87.39 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.789e-06/9.829e-06, allocations: 0 / 0.8511 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7781/0.7781, allocations: 115.3 MB / 0.9637 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.786, allocations: 423.1 MB / 1.377 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/1.787, allocations: 88.97 kB / 1.377 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.68/4.467, allocations: 0.614 GB / 1.991 GB, free: 156 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003697/4.468, allocations: 42.56 kB / 1.991 GB, free: 156 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.007133/4.475, allocations: 1.849 MB / 1.993 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/4.475, allocations: 8.031 kB / 1.993 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/4.477, allocations: 414 kB / 1.993 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004813/4.482, allocations: 1.32 MB / 1.994 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007224/4.483, allocations: 181.9 kB / 1.995 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005857/4.484, allocations: 66.56 kB / 1.995 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002169/4.486, allocations: 0.7574 MB / 1.995 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/4.488, allocations: 0.9011 MB / 1.996 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/4.488, allocations: 3.75 kB / 1.996 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/4.488, allocations: 1.5 kB / 1.996 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/4.488, allocations: 24.28 kB / 1.996 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/4.499, allocations: 4.629 MB / 2.001 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/4.5, allocations: 0.5858 MB / 2.001 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005135/4.501, allocations: 323.2 kB / 2.002 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/4.502, allocations: 1.068 MB / 2.003 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007519/4.503, allocations: 399 kB / 2.003 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 6.372e-06/4.503, allocations: 0 / 2.003 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.002818/4.506, allocations: 0.826 MB / 2.004 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/4.506, allocations: 191.2 kB / 2.004 GB, free: 151.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/4.508, allocations: 0.8564 MB / 2.005 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002458/4.509, allocations: 25.7 kB / 2.005 GB, free: 151 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007208/4.509, allocations: 413.2 kB / 2.005 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000295/4.51, allocations: 241.7 kB / 2.006 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.513e-05/4.51, allocations: 2.594 kB / 2.006 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001313/4.51, allocations: 346.2 kB / 2.006 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006648/4.51, allocations: 315.3 kB / 2.006 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009052/4.511, allocations: 0.5837 MB / 2.007 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/4.513, allocations: 475.3 kB / 2.007 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/4.513, allocations: 3.406 kB / 2.007 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003249/4.516, allocations: 1.082 MB / 2.008 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004542/4.517, allocations: 1.587 MB / 2.01 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/4.517, allocations: 3.875 kB / 2.01 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.492e-05/4.517, allocations: 11.66 kB / 2.01 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/4.519, allocations: 316.1 kB / 2.01 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007067/4.519, allocations: 1.214 MB / 2.011 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/4.521, allocations: 188.5 kB / 2.012 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/4.522, allocations: 59.95 kB / 2.012 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/4.522, allocations: 3.719 kB / 2.012 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002553/4.524, allocations: 0.9064 MB / 2.013 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.211e-05/4.524, allocations: 10.89 kB / 2.013 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/4.524, allocations: 11.09 kB / 2.013 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/4.526, allocations: 288.3 kB / 2.013 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.801e-05/4.526, allocations: 10.53 kB / 2.013 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/4.528, allocations: 177.2 kB / 2.013 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/4.528, allocations: 54.36 kB / 2.013 GB, free: 147 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0004081/4.528, allocations: 132.5 kB / 2.013 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006115/4.529, allocations: 130.9 kB / 2.013 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00328/4.532, allocations: 1.125 MB / 2.014 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/4.532, allocations: 11.53 kB / 2.014 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/4.532, allocations: 6.938 kB / 2.014 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/4.532, allocations: 7.641 kB / 2.014 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005772/4.538, allocations: 2.229 MB / 2.017 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/4.538, allocations: 6.094 kB / 2.017 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/4.539, allocations: 237.4 kB / 2.017 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.591e-05/4.539, allocations: 10.16 kB / 2.017 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/4.539, allocations: 20.34 kB / 2.017 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006006/4.54, allocations: 1.189 MB / 2.018 GB, free: 145.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/4.54, allocations: 7.188 kB / 2.018 GB, free: 145.2 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003443/4.544, allocations: 1.681 MB / 2.02 GB, free: 144.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/4.545, allocations: 339.3 kB / 2.02 GB, free: 144.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005088/4.545, allocations: 10.48 kB / 2.02 GB, free: 144.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/4.547, allocations: 129.8 kB / 2.02 GB, free: 144.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/4.547, allocations: 63.47 kB / 2.02 GB, free: 144.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/4.547, allocations: 40.61 kB / 2.02 GB, free: 144.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001487/4.549, allocations: 0.6336 MB / 2.021 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004709/4.553, allocations: 0.8562 MB / 2.022 GB, free: 144.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002995/4.556, allocations: 0.8867 MB / 2.023 GB, free: 144.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003928/4.56, allocations: 1.517 MB / 2.024 GB, free: 144 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/4.56, allocations: 0 / 2.024 GB, free: 144 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/4.562, allocations: 484.6 kB / 2.025 GB, free: 144 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/4.565, allocations: 453 kB / 2.025 GB, free: 144 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006977/4.572, allocations: 1.86 MB / 2.027 GB, free: 143.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001872/4.574, allocations: 1.341 MB / 2.028 GB, free: 142.7 MB / 0.9323 GB Notification: Performance of SimCode: time 2.966e-06/4.574, allocations: 0 / 2.028 GB, free: 142.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.07024/4.644, allocations: 33.07 MB / 2.06 GB, free: 142.2 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)