Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.255/1.255, allocations: 249.4 MB / 256.7 MB, free: 7.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009436/0.0009436, allocations: 188 kB / 316 MB, free: 3.59 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.2 MB / 0.5667 GB, free: 15.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008049/0.0008049, allocations: 87.33 kB / 0.671 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3303/0.3311, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.5021, allocations: 106.3 MB / 0.8847 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4976/0.9997, allocations: 138.9 MB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1, allocations: 98.92 kB / 1.02 GB, free: 15.69 MB / 0.6511 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.03202/1.032, allocations: 13.26 MB / 1.033 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/1.032, allocations: 12 kB / 1.033 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.601e-05/1.032, allocations: 59.25 kB / 1.033 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/1.033, allocations: 354.6 kB / 1.034 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/1.033, allocations: 4 kB / 1.034 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/1.033, allocations: 4 kB / 1.034 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001703/1.033, allocations: 99.62 kB / 1.034 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/1.033, allocations: 119.9 kB / 1.034 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.033, allocations: 0 / 1.034 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/1.033, allocations: 3.938 kB / 1.034 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/1.033, allocations: 4 kB / 1.034 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006874/1.034, allocations: 0.5086 MB / 1.035 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/1.034, allocations: 114.1 kB / 1.035 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.307e-05/1.034, allocations: 70.34 kB / 1.035 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.004e-05/1.034, allocations: 4 kB / 1.035 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/1.034, allocations: 130.6 kB / 1.035 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/1.034, allocations: 0 / 1.035 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0003541/1.035, allocations: 214.4 kB / 1.035 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/1.035, allocations: 81.11 kB / 1.035 GB, free: 2.738 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006446/1.035, allocations: 0.6246 MB / 1.036 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/1.035, allocations: 29.7 kB / 1.036 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/1.035, allocations: 157.8 kB / 1.036 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/1.035, allocations: 26.89 kB / 1.036 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/1.035, allocations: 0 / 1.036 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.036, allocations: 378.5 kB / 1.036 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.107e-05/1.036, allocations: 55.97 kB / 1.036 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/1.036, allocations: 46.48 kB / 1.036 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/1.036, allocations: 52.95 kB / 1.036 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.036, allocations: 7.938 kB / 1.036 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002719/1.036, allocations: 208.9 kB / 1.037 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/1.036, allocations: 4 kB / 1.037 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.036, allocations: 0 / 1.037 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/1.036, allocations: 0 / 1.037 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/1.036, allocations: 14.94 kB / 1.037 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.036, allocations: 3.984 kB / 1.037 GB, free: 1.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/1.036, allocations: 15.84 kB / 1.037 GB, free: 1.348 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/1.036, allocations: 4 kB / 1.037 GB, free: 1.344 MB / 0.6511 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 9.777e-05/1.037, allocations: 148.4 kB / 1.037 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/1.037, allocations: 59.31 kB / 1.037 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/1.037, allocations: 241.1 kB / 1.037 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.037, allocations: 0 / 1.037 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.037, allocations: 0 / 1.037 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.037, allocations: 4 kB / 1.037 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/1.037, allocations: 340.1 kB / 1.037 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/1.037, allocations: 0 / 1.037 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/1.037, allocations: 11.92 kB / 1.037 GB, free: 0.6016 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.037, allocations: 8 kB / 1.037 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/1.037, allocations: 2.75 kB / 1.037 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/1.037, allocations: 4 kB / 1.037 GB, free: 0.5898 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.037, allocations: 0 / 1.037 GB, free: 0.5898 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002987/1.038, allocations: 247.2 kB / 1.038 GB, free: 368 kB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004175/1.038, allocations: 0.6296 MB / 1.038 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/1.038, allocations: 146.7 kB / 1.038 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/1.038, allocations: 4 kB / 1.038 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/1.039, allocations: 11.92 kB / 1.038 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/1.039, allocations: 7.188 kB / 1.038 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/1.039, allocations: 7.906 kB / 1.038 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0005137/1.039, allocations: 0.5132 MB / 1.039 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009823/1.04, allocations: 157.6 kB / 1.039 GB, free: 15.03 MB / 0.6667 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.0005693/1.041, allocations: 354.2 kB / 1.039 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002037/1.041, allocations: 148 kB / 1.04 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.041, allocations: 4 kB / 1.04 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/1.041, allocations: 112.7 kB / 1.04 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/1.041, allocations: 95.41 kB / 1.04 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/1.043, allocations: 0.7867 MB / 1.041 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000587/1.043, allocations: 0.9866 MB / 1.042 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of SimCode: time 2.6e-07/1.043, allocations: 0 / 1.042 GB, free: 12.75 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)