Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.296/2.296, allocations: 284.8 MB / 292.1 MB, free: 9.852 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.001674/0.001673, allocations: 183.4 kB / 360.3 MB, free: 1.023 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.1 MB / 0.6187 GB, free: 3.305 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.001251/0.001251, allocations: 93.62 kB / 0.7317 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5878/0.5891, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.8439, allocations: 115.3 MB / 0.9628 GB, free: 56.98 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7396/1.584, allocations: 144 MB / 1.103 GB, free: 32.97 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005125/1.584, allocations: 92.95 kB / 1.103 GB, free: 32.97 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.06493/1.649, allocations: 13.25 MB / 1.116 GB, free: 31.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.649, allocations: 12.28 kB / 1.116 GB, free: 31.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/1.649, allocations: 58.22 kB / 1.116 GB, free: 31.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005899/1.65, allocations: 347.5 kB / 1.117 GB, free: 30.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/1.65, allocations: 0 / 1.117 GB, free: 30.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/1.65, allocations: 7.75 kB / 1.117 GB, free: 30.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000287/1.65, allocations: 101.5 kB / 1.117 GB, free: 30.92 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/1.651, allocations: 124.9 kB / 1.117 GB, free: 30.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.651, allocations: 0 / 1.117 GB, free: 30.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/1.651, allocations: 7.875 kB / 1.117 GB, free: 30.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/1.651, allocations: 0 / 1.117 GB, free: 30.88 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/1.652, allocations: 0.5083 MB / 1.118 GB, free: 30.63 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/1.652, allocations: 117.2 kB / 1.118 GB, free: 30.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/1.652, allocations: 66.58 kB / 1.118 GB, free: 30.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.116e-05/1.652, allocations: 6.344 kB / 1.118 GB, free: 30.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/1.653, allocations: 137.5 kB / 1.118 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 4.349e-06/1.653, allocations: 3.984 kB / 1.118 GB, free: 30.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0005971/1.653, allocations: 213.8 kB / 1.118 GB, free: 30.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/1.653, allocations: 83.77 kB / 1.118 GB, free: 30.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/1.654, allocations: 0.6152 MB / 1.119 GB, free: 30.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/1.654, allocations: 25.7 kB / 1.119 GB, free: 30.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/1.655, allocations: 159.3 kB / 1.119 GB, free: 30.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/1.655, allocations: 26 kB / 1.119 GB, free: 30.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/1.655, allocations: 0 / 1.119 GB, free: 30.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.655, allocations: 376.6 kB / 1.119 GB, free: 29.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/1.655, allocations: 64.53 kB / 1.119 GB, free: 29.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/1.655, allocations: 50.67 kB / 1.119 GB, free: 29.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/1.655, allocations: 56.47 kB / 1.119 GB, free: 29.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.655, allocations: 0 / 1.119 GB, free: 29.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005025/1.656, allocations: 206.8 kB / 1.12 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.656, allocations: 3.844 kB / 1.12 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.656, allocations: 0 / 1.12 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/1.656, allocations: 0 / 1.12 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/1.656, allocations: 7.75 kB / 1.12 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/1.656, allocations: 3.906 kB / 1.12 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/1.656, allocations: 18.48 kB / 1.12 GB, free: 29.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/1.656, allocations: 6.781 kB / 1.12 GB, free: 29.69 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.0001166/1.657, allocations: 138.6 kB / 1.12 GB, free: 29.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/1.657, allocations: 58.06 kB / 1.12 GB, free: 29.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007588/1.657, allocations: 246 kB / 1.12 GB, free: 29.47 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.657, allocations: 0 / 1.12 GB, free: 29.47 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.657, allocations: 0 / 1.12 GB, free: 29.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/1.657, allocations: 3.906 kB / 1.12 GB, free: 29.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/1.658, allocations: 346.2 kB / 1.12 GB, free: 29.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.658, allocations: 3.188 kB / 1.12 GB, free: 29.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.933e-05/1.658, allocations: 7.75 kB / 1.12 GB, free: 29.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/1.658, allocations: 0 / 1.12 GB, free: 29.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/1.658, allocations: 3.875 kB / 1.12 GB, free: 29.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.658, allocations: 0 / 1.12 GB, free: 29.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.658, allocations: 3.906 kB / 1.12 GB, free: 29.3 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005022/1.659, allocations: 249.1 kB / 1.121 GB, free: 29.2 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005622/1.659, allocations: 0.6355 MB / 1.121 GB, free: 28.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/1.659, allocations: 141 kB / 1.121 GB, free: 28.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-05/1.66, allocations: 3.938 kB / 1.121 GB, free: 28.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/1.66, allocations: 3.906 kB / 1.121 GB, free: 28.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/1.66, allocations: 10.12 kB / 1.121 GB, free: 28.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/1.66, allocations: 11.75 kB / 1.122 GB, free: 28.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0009288/1.661, allocations: 0.5192 MB / 1.122 GB, free: 28.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001652/1.663, allocations: 152.5 kB / 1.122 GB, free: 28.47 MB / 0.7136 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.0009169/1.664, allocations: 367.8 kB / 1.123 GB, free: 28.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003765/1.664, allocations: 143.7 kB / 1.123 GB, free: 28.28 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.664, allocations: 0 / 1.123 GB, free: 28.28 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/1.664, allocations: 114.6 kB / 1.123 GB, free: 28.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007748/1.665, allocations: 90.14 kB / 1.123 GB, free: 28.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/1.667, allocations: 0.7897 MB / 1.124 GB, free: 28.04 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000928/1.668, allocations: 0.9896 MB / 1.125 GB, free: 43.33 MB / 0.7292 GB Notification: Performance of SimCode: time 1.413e-06/1.668, allocations: 0 / 1.125 GB, free: 43.33 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)