Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.538/1.538, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001202/0.001202, allocations: 181.2 kB / 366.3 MB, free: 1.949 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.536/1.536, allocations: 205.1 MB / 0.6256 GB, free: 5.812 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.001094/0.001094, allocations: 85.03 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.195e-05/1.198e-05, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7327/0.7328, allocations: 116.3 MB / 0.9726 GB, free: 68.61 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9344/1.667, allocations: 424.1 MB / 1.387 GB, free: 64.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.668, allocations: 90.45 kB / 1.387 GB, free: 64.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.196/3.864, allocations: 0.614 GB / 2.001 GB, free: 178.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001523/3.864, allocations: 39.14 kB / 2.001 GB, free: 178.1 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003885/3.868, allocations: 1.839 MB / 2.003 GB, free: 177.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/3.868, allocations: 11.19 kB / 2.003 GB, free: 177.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/3.869, allocations: 415.5 kB / 2.003 GB, free: 177.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/3.872, allocations: 1.324 MB / 2.004 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005913/3.872, allocations: 178.7 kB / 2.005 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/3.873, allocations: 68.59 kB / 2.005 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001228/3.874, allocations: 0.7565 MB / 2.005 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/3.875, allocations: 0.9024 MB / 2.006 GB, free: 176.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/3.875, allocations: 2.625 kB / 2.006 GB, free: 176.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.911e-05/3.875, allocations: 6.781 kB / 2.006 GB, free: 176.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/3.875, allocations: 23.78 kB / 2.006 GB, free: 176.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00633/3.882, allocations: 4.609 MB / 2.011 GB, free: 174.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008244/3.882, allocations: 0.5802 MB / 2.011 GB, free: 174.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004006/3.883, allocations: 322.9 kB / 2.012 GB, free: 174.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000934/3.884, allocations: 1.071 MB / 2.013 GB, free: 173.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000566/3.884, allocations: 406.6 kB / 2.013 GB, free: 173.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.497e-06/3.884, allocations: 0 / 2.013 GB, free: 173.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002105/3.886, allocations: 0.8218 MB / 2.014 GB, free: 173.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/3.887, allocations: 190.2 kB / 2.014 GB, free: 173.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/3.888, allocations: 0.8578 MB / 2.015 GB, free: 173 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/3.888, allocations: 29.52 kB / 2.015 GB, free: 173 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/3.888, allocations: 405.1 kB / 2.015 GB, free: 172.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/3.888, allocations: 243.8 kB / 2.015 GB, free: 172.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/3.888, allocations: 0 / 2.015 GB, free: 172.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.203e-05/3.888, allocations: 346.4 kB / 2.016 GB, free: 172.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/3.889, allocations: 314.6 kB / 2.016 GB, free: 172.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/3.89, allocations: 0.5896 MB / 2.017 GB, free: 172 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/3.891, allocations: 469.9 kB / 2.017 GB, free: 172 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/3.891, allocations: 3.891 kB / 2.017 GB, free: 172 MB / 0.948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00216/3.893, allocations: 1.076 MB / 2.018 GB, free: 171.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003148/3.893, allocations: 1.585 MB / 2.02 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/3.893, allocations: 3.812 kB / 2.02 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/3.893, allocations: 17.34 kB / 2.02 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/3.895, allocations: 310.5 kB / 2.02 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005849/3.895, allocations: 1.223 MB / 2.021 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/3.897, allocations: 187.7 kB / 2.021 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/3.897, allocations: 56.92 kB / 2.021 GB, free: 169 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/3.897, allocations: 7.344 kB / 2.022 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001959/3.899, allocations: 0.9105 MB / 2.022 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/3.899, allocations: 6.875 kB / 2.022 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/3.899, allocations: 6.844 kB / 2.022 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/3.9, allocations: 298.8 kB / 2.023 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/3.9, allocations: 14.47 kB / 2.023 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/3.902, allocations: 163.4 kB / 2.023 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/3.902, allocations: 57.3 kB / 2.023 GB, free: 168.9 MB / 0.948 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.0002681/3.902, allocations: 132 kB / 2.023 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/3.902, allocations: 134.6 kB / 2.023 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/3.905, allocations: 1.125 MB / 2.024 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/3.905, allocations: 10.19 kB / 2.024 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/3.905, allocations: 7.594 kB / 2.024 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/3.905, allocations: 6.688 kB / 2.024 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003728/3.909, allocations: 2.238 MB / 2.026 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/3.909, allocations: 3.844 kB / 2.026 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/3.91, allocations: 238.6 kB / 2.027 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/3.91, allocations: 7.906 kB / 2.027 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/3.91, allocations: 18.56 kB / 2.027 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004113/3.91, allocations: 1.187 MB / 2.028 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/3.91, allocations: 7.625 kB / 2.028 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002504/3.913, allocations: 1.681 MB / 2.03 GB, free: 166.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005885/3.913, allocations: 341.7 kB / 2.03 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/3.913, allocations: 3.875 kB / 2.03 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/3.915, allocations: 142.2 kB / 2.03 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/3.915, allocations: 59.89 kB / 2.03 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/3.915, allocations: 38.94 kB / 2.03 GB, free: 166.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008199/3.916, allocations: 0.6318 MB / 2.031 GB, free: 166.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002787/3.918, allocations: 0.8542 MB / 2.032 GB, free: 166.2 MB / 0.948 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.001731/3.92, allocations: 0.892 MB / 2.032 GB, free: 166 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002724/3.923, allocations: 1.519 MB / 2.034 GB, free: 165.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/3.923, allocations: 3.438 kB / 2.034 GB, free: 165.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007204/3.924, allocations: 482.3 kB / 2.034 GB, free: 165.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/3.926, allocations: 447.9 kB / 2.035 GB, free: 165.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/3.93, allocations: 1.869 MB / 2.037 GB, free: 165.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009291/3.931, allocations: 1.342 MB / 2.038 GB, free: 164.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/3.931, allocations: 0 / 2.038 GB, free: 164.6 MB / 0.948 GB Notification: Performance of Templates: time 0.05125/3.982, allocations: 33.06 MB / 2.07 GB, free: 164.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)