Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.256/2.256, allocations: 284.9 MB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001671/0.001671, allocations: 193.2 kB / 360.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.1 MB / 0.6188 GB, free: 13.19 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001298/0.001297, allocations: 88.12 kB / 0.7318 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.186e-05/1.207e-05, allocations: 4 kB / 0.8502 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6219/0.6219, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9968/1.619, allocations: 423 MB / 1.376 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/1.619, allocations: 90.77 kB / 1.376 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.999/4.618, allocations: 0.6137 GB / 1.99 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002498/4.619, allocations: 46 kB / 1.99 GB, free: 155.8 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.006277/4.625, allocations: 1.847 MB / 1.991 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/4.625, allocations: 11.16 kB / 1.991 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/4.628, allocations: 411.9 kB / 1.992 GB, free: 155 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004754/4.633, allocations: 1.323 MB / 1.993 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001343/4.635, allocations: 186.4 kB / 1.993 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000477/4.635, allocations: 67.47 kB / 1.993 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002498/4.638, allocations: 0.7544 MB / 1.994 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/4.64, allocations: 0.9044 MB / 1.995 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/4.64, allocations: 3.656 kB / 1.995 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/4.64, allocations: 0 / 1.995 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/4.64, allocations: 23.97 kB / 1.995 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01221/4.653, allocations: 4.617 MB / 2 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/4.654, allocations: 0.5944 MB / 2 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000799/4.655, allocations: 321.7 kB / 2 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/4.657, allocations: 1.062 MB / 2.002 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/4.658, allocations: 408.8 kB / 2.002 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 4.198e-06/4.658, allocations: 0 / 2.002 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.003411/4.661, allocations: 0.8172 MB / 2.003 GB, free: 151.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.492e-05/4.661, allocations: 191.6 kB / 2.003 GB, free: 151 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/4.663, allocations: 0.8638 MB / 2.004 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003232/4.664, allocations: 29.33 kB / 2.004 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/4.664, allocations: 413.2 kB / 2.004 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000314/4.664, allocations: 238.2 kB / 2.004 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/4.664, allocations: 0 / 2.004 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.876e-05/4.665, allocations: 340.6 kB / 2.005 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009179/4.666, allocations: 319 kB / 2.005 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/4.667, allocations: 0.5909 MB / 2.006 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/4.669, allocations: 467.6 kB / 2.006 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/4.669, allocations: 3.438 kB / 2.006 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004313/4.673, allocations: 1.082 MB / 2.007 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004087/4.674, allocations: 1.587 MB / 2.009 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/4.674, allocations: 7.438 kB / 2.009 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.114e-05/4.674, allocations: 7.875 kB / 2.009 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003184/4.677, allocations: 316.7 kB / 2.009 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009387/4.678, allocations: 1.212 MB / 2.01 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/4.681, allocations: 187.6 kB / 2.01 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003777/4.681, allocations: 58.38 kB / 2.01 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/4.681, allocations: 10.06 kB / 2.01 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003714/4.685, allocations: 0.9123 MB / 2.011 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/4.685, allocations: 3.906 kB / 2.011 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/4.685, allocations: 7.906 kB / 2.011 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/4.688, allocations: 294.5 kB / 2.012 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/4.688, allocations: 14.94 kB / 2.012 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/4.691, allocations: 168.8 kB / 2.012 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002819/4.691, allocations: 54.42 kB / 2.012 GB, free: 146.9 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.0004105/4.691, allocations: 137.3 kB / 2.012 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004566/4.692, allocations: 133.4 kB / 2.012 GB, free: 146.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004477/4.696, allocations: 1.123 MB / 2.013 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/4.697, allocations: 11.14 kB / 2.013 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/4.697, allocations: 6.906 kB / 2.013 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/4.697, allocations: 3.281 kB / 2.013 GB, free: 146.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006879/4.703, allocations: 2.228 MB / 2.015 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/4.704, allocations: 3.625 kB / 2.015 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002192/4.706, allocations: 236.1 kB / 2.016 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-05/4.706, allocations: 11.38 kB / 2.016 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/4.706, allocations: 24.84 kB / 2.016 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006/4.707, allocations: 1.193 MB / 2.017 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/4.707, allocations: 6.938 kB / 2.017 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004978/4.712, allocations: 1.674 MB / 2.018 GB, free: 144.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/4.713, allocations: 341.3 kB / 2.019 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003521/4.713, allocations: 7.688 kB / 2.019 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/4.716, allocations: 135.2 kB / 2.019 GB, free: 144.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/4.716, allocations: 64.45 kB / 2.019 GB, free: 144.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/4.716, allocations: 36.58 kB / 2.019 GB, free: 144.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001376/4.717, allocations: 0.632 MB / 2.02 GB, free: 144.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004541/4.722, allocations: 0.8586 MB / 2.02 GB, free: 144.2 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.002902/4.725, allocations: 0.8894 MB / 2.021 GB, free: 144 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005337/4.73, allocations: 1.514 MB / 2.023 GB, free: 143.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/4.73, allocations: 0 / 2.023 GB, free: 143.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/4.732, allocations: 482.8 kB / 2.023 GB, free: 143.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004777/4.737, allocations: 456 kB / 2.024 GB, free: 143.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007182/4.744, allocations: 1.857 MB / 2.025 GB, free: 143.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/4.746, allocations: 1.345 MB / 2.027 GB, free: 142.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.523e-06/4.746, allocations: 0 / 2.027 GB, free: 142.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.08594/4.832, allocations: 33.05 MB / 2.059 GB, free: 142 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)