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.SpeedSelect.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.SpeedSelect,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",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.186/1.186, allocations: 249.4 MB / 256.7 MB, free: 15.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000978/0.000978, allocations: 180.2 kB / 316 MB, free: 7.246 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.34/1.34, allocations: 205.1 MB / 0.5667 GB, free: 23.58 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.0008339/0.0008337, allocations: 75.47 kB / 0.671 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2338/0.2347, allocations: 112.5 MB / 0.7808 GB, free: 320 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.692, allocations: 106.3 MB / 0.8847 GB, free: 76.28 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.855, allocations: 138.8 MB / 1.02 GB, free: 1.227 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.8553, allocations: 95.92 kB / 1.02 GB, free: 1.133 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.03102/0.8864, allocations: 12.95 MB / 1.033 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.8864, allocations: 8 kB / 1.033 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.8865, allocations: 67.16 kB / 1.033 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006963/0.8872, allocations: 471.5 kB / 1.034 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.8872, allocations: 4 kB / 1.034 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.8873, allocations: 8 kB / 1.034 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.962e-05/0.8874, allocations: 51.81 kB / 1.034 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.8875, allocations: 88.19 kB / 1.034 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.8875, allocations: 0 / 1.034 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.8876, allocations: 0 / 1.034 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8876, allocations: 0 / 1.034 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006443/0.8882, allocations: 0.5166 MB / 1.034 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.8885, allocations: 90.67 kB / 1.034 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.8886, allocations: 32.97 kB / 1.034 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.8886, allocations: 0 / 1.034 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.8887, allocations: 75.48 kB / 1.034 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.8887, allocations: 7.938 kB / 1.034 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0002501/0.889, allocations: 156.8 kB / 1.035 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.889, allocations: 106.8 kB / 1.035 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/0.8899, allocations: 0.7616 MB / 1.035 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.8899, allocations: 25.7 kB / 1.035 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.533e-05/0.89, allocations: 164 kB / 1.036 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.89, allocations: 23.73 kB / 1.036 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.89, allocations: 0 / 1.036 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.652e-05/0.8901, allocations: 310 kB / 1.036 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.558e-05/0.8902, allocations: 27.98 kB / 1.036 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/0.8903, allocations: 76.28 kB / 1.036 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.235e-05/0.8903, allocations: 31.86 kB / 1.036 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8903, allocations: 0 / 1.036 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001926/0.8905, allocations: 156.8 kB / 1.036 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.8905, allocations: 8.031 kB / 1.036 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8906, allocations: 0 / 1.036 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.8906, allocations: 7.891 kB / 1.036 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.631e-05/0.8907, allocations: 15.94 kB / 1.036 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.8907, allocations: 4 kB / 1.036 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.8908, allocations: 7.984 kB / 1.036 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.8908, allocations: 4 kB / 1.036 GB, free: 0.6055 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,speSel.stage,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 7.466e-05/0.8909, allocations: 107.1 kB / 1.036 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.891, allocations: 71.16 kB / 1.036 GB, free: 436 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.8912, allocations: 167.6 kB / 1.037 GB, free: 260 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.8913, allocations: 3.984 kB / 1.037 GB, free: 256 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.8913, allocations: 4.094 kB / 1.037 GB, free: 252 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8913, allocations: 3.938 kB / 1.037 GB, free: 248 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2688/1.16, allocations: 370.8 kB / 1.037 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.16, allocations: 0 / 1.037 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/1.16, allocations: 9.469 kB / 1.037 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/1.16, allocations: 0 / 1.037 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/1.16, allocations: 2.016 kB / 1.037 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/1.16, allocations: 5.781 kB / 1.037 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.16, allocations: 6.781 kB / 1.037 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003356/1.161, allocations: 178.1 kB / 1.037 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002396/1.161, allocations: 0.5713 MB / 1.038 GB, free: 205 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/1.161, allocations: 149 kB / 1.038 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.274e-05/1.161, allocations: 7.484 kB / 1.038 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/1.161, allocations: 0 / 1.038 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/1.161, allocations: 14.16 kB / 1.038 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/1.161, allocations: 0 / 1.038 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006834/1.162, allocations: 0.6255 MB / 1.038 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009667/1.163, allocations: 97.62 kB / 1.038 GB, free: 204.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,speSel.stage,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009351/1.164, allocations: 481.7 kB / 1.039 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001921/1.164, allocations: 81.47 kB / 1.039 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.164, allocations: 3.469 kB / 1.039 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.283e-05/1.164, allocations: 43.62 kB / 1.039 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/1.165, allocations: 135 kB / 1.039 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/1.166, allocations: 0.8618 MB / 1.04 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004776/1.167, allocations: 1.019 MB / 1.041 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/1.167, allocations: 0 / 1.041 GB, free: 203.8 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)