Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") [: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.66 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.001181/0.001181, allocations: 177.3 kB / 366.3 MB, free: 2.012 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.479/1.479, allocations: 205.1 MB / 0.6256 GB, free: 7.496 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.000997/0.0009969, allocations: 88.3 kB / 0.7396 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.352e-05/1.354e-05, allocations: 4 kB / 0.859 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7623/0.7624, allocations: 116.3 MB / 0.9726 GB, free: 76.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2079/0.9703, allocations: 145.1 MB / 1.114 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.9706, allocations: 96.91 kB / 1.114 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03511/1.006, allocations: 12.53 MB / 1.127 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.876e-05/1.006, allocations: 12 kB / 1.127 GB, free: 8.738 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001059/1.007, allocations: 0.7055 MB / 1.127 GB, free: 7.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.007, allocations: 8.031 kB / 1.127 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/1.007, allocations: 59.25 kB / 1.127 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005575/1.008, allocations: 348.2 kB / 1.128 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/1.008, allocations: 4 kB / 1.128 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/1.008, allocations: 4 kB / 1.128 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002117/1.008, allocations: 100.1 kB / 1.128 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/1.008, allocations: 126.1 kB / 1.128 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/1.008, allocations: 0 / 1.128 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/1.008, allocations: 0 / 1.128 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.008, allocations: 5.031 kB / 1.128 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008899/1.009, allocations: 0.5244 MB / 1.128 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/1.009, allocations: 114.5 kB / 1.129 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/1.009, allocations: 68.97 kB / 1.129 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.866e-05/1.009, allocations: 4 kB / 1.129 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/1.01, allocations: 133.1 kB / 1.129 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/1.01, allocations: 0 / 1.129 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0004296/1.01, allocations: 212.9 kB / 1.129 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/1.01, allocations: 81.11 kB / 1.129 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007498/1.011, allocations: 0.6167 MB / 1.13 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/1.011, allocations: 26.27 kB / 1.13 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/1.011, allocations: 163.8 kB / 1.13 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/1.011, allocations: 23.75 kB / 1.13 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/1.011, allocations: 3.938 kB / 1.13 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002173/1.011, allocations: 378.8 kB / 1.13 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/1.011, allocations: 55.97 kB / 1.13 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.965e-05/1.011, allocations: 49.58 kB / 1.13 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/1.012, allocations: 55.95 kB / 1.13 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.012, allocations: 0 / 1.13 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003148/1.012, allocations: 204.9 kB / 1.131 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.012, allocations: 4 kB / 1.131 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.012, allocations: 0 / 1.131 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/1.012, allocations: 3.906 kB / 1.131 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/1.012, allocations: 10.5 kB / 1.131 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/1.012, allocations: 4 kB / 1.131 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/1.012, allocations: 15.92 kB / 1.131 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/1.012, allocations: 7.938 kB / 1.131 GB, free: 4.441 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001212/1.012, allocations: 147.6 kB / 1.131 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/1.012, allocations: 59.25 kB / 1.131 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/1.013, allocations: 234.5 kB / 1.131 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.013, allocations: 4.844 kB / 1.131 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.013, allocations: 7.906 kB / 1.131 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.013, allocations: 0 / 1.131 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/1.013, allocations: 342 kB / 1.131 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.013, allocations: 0 / 1.131 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/1.013, allocations: 11.98 kB / 1.131 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.013, allocations: 0 / 1.131 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/1.013, allocations: 7.906 kB / 1.131 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.013, allocations: 0 / 1.131 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.013, allocations: 0.9375 kB / 1.131 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003393/1.014, allocations: 256.2 kB / 1.132 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/1.014, allocations: 140.3 kB / 1.132 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/1.014, allocations: 6.25 kB / 1.132 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/1.014, allocations: 7.984 kB / 1.132 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/1.014, allocations: 8 kB / 1.132 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/1.014, allocations: 8 kB / 1.132 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0006398/1.015, allocations: 0.5146 MB / 1.132 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005533/1.015, allocations: 139.9 kB / 1.132 GB, free: 2.488 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006894/1.016, allocations: 357.6 kB / 1.133 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002452/1.016, allocations: 149.6 kB / 1.133 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.016, allocations: 0 / 1.133 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/1.017, allocations: 110.8 kB / 1.133 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/1.017, allocations: 99.55 kB / 1.133 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/1.018, allocations: 0.7874 MB / 1.134 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007191/1.019, allocations: 0.9897 MB / 1.135 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/1.019, allocations: 0 / 1.135 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of Templates: time 0.01102/1.03, allocations: 5.141 MB / 1.14 GB, free: 10.92 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)