Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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.SpeedSelect,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.404/2.404, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001732/0.001732, allocations: 185.2 kB / 360.3 MB, free: 7.566 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.888/1.888, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001199/0.001199, allocations: 92.75 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.274/0.2752, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6075/0.8828, allocations: 115.2 MB / 0.9628 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2678/1.151, allocations: 145 MB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003662/1.151, allocations: 98.56 kB / 1.104 GB, free: 11.79 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.05356/1.205, allocations: 12.96 MB / 1.117 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.205, allocations: 8 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/1.205, allocations: 63.25 kB / 1.117 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/1.206, allocations: 476.4 kB / 1.118 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/1.206, allocations: 4 kB / 1.118 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/1.206, allocations: 0 / 1.118 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001885/1.206, allocations: 39.98 kB / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/1.207, allocations: 96.17 kB / 1.118 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.207, allocations: 0 / 1.118 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/1.207, allocations: 4 kB / 1.118 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.207, allocations: 0 / 1.118 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/1.208, allocations: 0.5127 MB / 1.118 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005377/1.209, allocations: 86.67 kB / 1.118 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/1.209, allocations: 37 kB / 1.118 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/1.209, allocations: 4 kB / 1.118 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/1.209, allocations: 79.39 kB / 1.118 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.455e-06/1.209, allocations: 0 / 1.118 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004453/1.209, allocations: 152.8 kB / 1.119 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/1.209, allocations: 106.8 kB / 1.119 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/1.211, allocations: 0.7616 MB / 1.119 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/1.211, allocations: 29.7 kB / 1.119 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/1.211, allocations: 156 kB / 1.12 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/1.211, allocations: 27.64 kB / 1.12 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/1.211, allocations: 4 kB / 1.12 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.212, allocations: 306 kB / 1.12 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.176e-05/1.212, allocations: 35.92 kB / 1.12 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/1.212, allocations: 73.59 kB / 1.12 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/1.212, allocations: 27.98 kB / 1.12 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.212, allocations: 4 kB / 1.12 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003779/1.212, allocations: 160.8 kB / 1.12 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.213, allocations: 4 kB / 1.12 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.213, allocations: 4 kB / 1.12 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.213, allocations: 0 / 1.12 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/1.213, allocations: 15.98 kB / 1.12 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/1.213, allocations: 0 / 1.12 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/1.213, allocations: 11.89 kB / 1.12 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/1.213, allocations: 4 kB / 1.12 GB, free: 11.41 MB / 0.7292 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 0.0001222/1.213, allocations: 116.8 kB / 1.12 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/1.213, allocations: 63.16 kB / 1.12 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005083/1.214, allocations: 169.1 kB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/1.214, allocations: 7.984 kB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.214, allocations: 0 / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.214, allocations: 0 / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006324/1.215, allocations: 369.9 kB / 1.121 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.215, allocations: 0 / 1.121 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/1.215, allocations: 16.03 kB / 1.121 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/1.215, allocations: 7.984 kB / 1.121 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/1.215, allocations: 0 / 1.121 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/1.215, allocations: 4 kB / 1.121 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.215, allocations: 3.938 kB / 1.121 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000352/1.215, allocations: 180.9 kB / 1.121 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005298/1.216, allocations: 0.5748 MB / 1.122 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/1.216, allocations: 144.2 kB / 1.122 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/1.216, allocations: 0 / 1.122 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/1.216, allocations: 7.984 kB / 1.122 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/1.216, allocations: 15.89 kB / 1.122 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/1.216, allocations: 0 / 1.122 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001289/1.218, allocations: 0.624 MB / 1.122 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001445/1.219, allocations: 90.55 kB / 1.123 GB, free: 8.941 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: 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.001279/1.22, allocations: 482.1 kB / 1.123 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003228/1.221, allocations: 79.97 kB / 1.123 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.221, allocations: 0 / 1.123 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/1.221, allocations: 39.92 kB / 1.123 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/1.222, allocations: 133.6 kB / 1.123 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/1.225, allocations: 0.8749 MB / 1.124 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/1.226, allocations: 1.019 MB / 1.125 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of SimCode: time 1.583e-06/1.226, allocations: 0 / 1.125 GB, free: 6.418 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)