Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.64/1.64, allocations: 285.5 MB / 292.8 MB, free: 9.801 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.001137/0.001137, allocations: 173.3 kB / 361.1 MB, free: 400 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.1 MB / 0.6195 GB, free: 2.844 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009322/0.0009324, allocations: 99.56 kB / 0.7326 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.28e-05/1.282e-05, allocations: 2.75 kB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.285, allocations: 115.3 MB / 0.9637 GB, free: 56.34 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8501/1.135, allocations: 144.2 MB / 1.104 GB, free: 27.98 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/1.136, allocations: 94.08 kB / 1.105 GB, free: 27.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03199/1.168, allocations: 12.53 MB / 1.117 GB, free: 26.81 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.594e-05/1.168, allocations: 7.812 kB / 1.117 GB, free: 26.81 MB / 0.7136 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.0009244/1.169, allocations: 0.7081 MB / 1.118 GB, free: 26.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.169, allocations: 7.469 kB / 1.118 GB, free: 26.24 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.803e-05/1.169, allocations: 58.44 kB / 1.118 GB, free: 26.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005169/1.169, allocations: 349.6 kB / 1.118 GB, free: 25.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/1.169, allocations: 3.875 kB / 1.118 GB, free: 25.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/1.169, allocations: 3.969 kB / 1.118 GB, free: 25.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002031/1.17, allocations: 95.47 kB / 1.118 GB, free: 25.94 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/1.17, allocations: 129.2 kB / 1.118 GB, free: 25.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/1.17, allocations: 0 / 1.118 GB, free: 25.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/1.17, allocations: 7.922 kB / 1.118 GB, free: 25.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/1.17, allocations: 0 / 1.118 GB, free: 25.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007991/1.171, allocations: 0.5179 MB / 1.119 GB, free: 25.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/1.171, allocations: 115.5 kB / 1.119 GB, free: 25.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.707e-05/1.171, allocations: 67.16 kB / 1.119 GB, free: 25.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.405e-05/1.171, allocations: 6.781 kB / 1.119 GB, free: 25.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/1.171, allocations: 132.1 kB / 1.119 GB, free: 25.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/1.171, allocations: 4 kB / 1.119 GB, free: 25.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0004152/1.172, allocations: 203.7 kB / 1.119 GB, free: 25.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/1.172, allocations: 84.92 kB / 1.119 GB, free: 25.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006921/1.172, allocations: 0.6162 MB / 1.12 GB, free: 25.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/1.172, allocations: 29.58 kB / 1.12 GB, free: 25.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/1.173, allocations: 157.1 kB / 1.12 GB, free: 25.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/1.173, allocations: 29.88 kB / 1.12 GB, free: 25.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/1.173, allocations: 0 / 1.12 GB, free: 25.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.173, allocations: 376.1 kB / 1.12 GB, free: 24.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.836e-05/1.173, allocations: 52.55 kB / 1.12 GB, free: 24.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.318e-05/1.173, allocations: 51.17 kB / 1.12 GB, free: 24.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/1.173, allocations: 60.64 kB / 1.121 GB, free: 24.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.173, allocations: 0 / 1.121 GB, free: 24.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002603/1.173, allocations: 208 kB / 1.121 GB, free: 24.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.173, allocations: 10.39 kB / 1.121 GB, free: 24.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/1.173, allocations: 0 / 1.121 GB, free: 24.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.173, allocations: 0 / 1.121 GB, free: 24.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.295e-05/1.173, allocations: 11.5 kB / 1.121 GB, free: 24.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.173, allocations: 7.906 kB / 1.121 GB, free: 24.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/1.174, allocations: 15 kB / 1.121 GB, free: 24.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/1.174, allocations: 11.5 kB / 1.121 GB, free: 24.7 MB / 0.7136 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.0001023/1.174, allocations: 146.9 kB / 1.121 GB, free: 24.56 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/1.174, allocations: 58.25 kB / 1.121 GB, free: 24.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/1.174, allocations: 233.8 kB / 1.121 GB, free: 24.49 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.174, allocations: 0 / 1.121 GB, free: 24.49 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.174, allocations: 4 kB / 1.121 GB, free: 24.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/1.174, allocations: 3.906 kB / 1.121 GB, free: 24.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/1.175, allocations: 337 kB / 1.122 GB, free: 40.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.175, allocations: 0 / 1.122 GB, free: 40.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/1.175, allocations: 14.64 kB / 1.122 GB, free: 40.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.175, allocations: 0 / 1.122 GB, free: 40.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/1.175, allocations: 7.719 kB / 1.122 GB, free: 40.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.175, allocations: 4.125 kB / 1.122 GB, free: 40.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.175, allocations: 3.906 kB / 1.122 GB, free: 40.31 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003176/1.175, allocations: 252.1 kB / 1.122 GB, free: 40.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/1.175, allocations: 141.4 kB / 1.122 GB, free: 40.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.406e-05/1.175, allocations: 3.906 kB / 1.122 GB, free: 40.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/1.175, allocations: 10.7 kB / 1.122 GB, free: 40.08 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/1.175, allocations: 6.844 kB / 1.122 GB, free: 40.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/1.176, allocations: 7.75 kB / 1.122 GB, free: 40.08 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0005437/1.176, allocations: 0.5109 MB / 1.122 GB, free: 39.99 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006306/1.177, allocations: 139.1 kB / 1.123 GB, free: 39.96 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.0007519/1.177, allocations: 388.2 kB / 1.123 GB, free: 39.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002534/1.178, allocations: 139.7 kB / 1.123 GB, free: 39.76 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.178, allocations: 4 kB / 1.123 GB, free: 39.76 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/1.178, allocations: 115.5 kB / 1.123 GB, free: 39.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/1.178, allocations: 88.95 kB / 1.123 GB, free: 39.71 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/1.18, allocations: 0.7889 MB / 1.124 GB, free: 39.51 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007255/1.18, allocations: 0.9863 MB / 1.125 GB, free: 38.8 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/1.18, allocations: 0 / 1.125 GB, free: 38.8 MB / 0.7292 GB Notification: Performance of Templates: time 0.01239/1.193, allocations: 5.13 MB / 1.13 GB, free: 38.32 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)