Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.572/1.572, allocations: 289.8 MB / 297.1 MB, free: 12.58 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 183.1 kB / 366.3 MB, free: 11.89 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.1 MB / 0.6256 GB, free: 1.996 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001155, allocations: 93.98 kB / 0.7395 GB, free: 47.04 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 0.3029/0.3041, allocations: 122.4 MB / 0.8591 GB, free: 7.031 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/1.037, allocations: 116.3 MB / 0.9727 GB, free: 81.43 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2055/1.243, allocations: 146.1 MB / 1.115 GB, free: 13.78 MB / 0.7214 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003894/1.243, allocations: 100.7 kB / 1.115 GB, free: 13.68 MB / 0.7214 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.03479/1.278, allocations: 12.95 MB / 1.128 GB, free: 0.7109 MB / 0.7214 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/1.278, allocations: 12 kB / 1.128 GB, free: 0.6992 MB / 0.7214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/1.278, allocations: 59.25 kB / 1.128 GB, free: 0.6406 MB / 0.7214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008236/1.279, allocations: 463.5 kB / 1.129 GB, free: 148 kB / 0.7214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/1.279, allocations: 7.984 kB / 1.129 GB, free: 140 kB / 0.7214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/1.279, allocations: 3.984 kB / 1.129 GB, free: 136 kB / 0.7214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001536/1.28, allocations: 43.92 kB / 1.129 GB, free: 92 kB / 0.7214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/1.28, allocations: 88.8 kB / 1.129 GB, free: 15.99 MB / 0.7371 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/1.28, allocations: 4 kB / 1.129 GB, free: 15.98 MB / 0.7371 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/1.28, allocations: 4 kB / 1.129 GB, free: 15.98 MB / 0.7371 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/1.28, allocations: 0 / 1.129 GB, free: 15.98 MB / 0.7371 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000918/1.281, allocations: 0.5177 MB / 1.129 GB, free: 15.43 MB / 0.7371 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/1.281, allocations: 91.59 kB / 1.129 GB, free: 15.33 MB / 0.7371 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.427e-05/1.281, allocations: 32.98 kB / 1.129 GB, free: 15.29 MB / 0.7371 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/1.281, allocations: 4 kB / 1.129 GB, free: 15.29 MB / 0.7371 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/1.281, allocations: 82.31 kB / 1.129 GB, free: 15.2 MB / 0.7371 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/1.281, allocations: 0 / 1.129 GB, free: 15.2 MB / 0.7371 GB Notification: Performance of matching and sorting (n=7): time 0.0003144/1.282, allocations: 152.8 kB / 1.13 GB, free: 15.04 MB / 0.7371 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/1.282, allocations: 102.8 kB / 1.13 GB, free: 14.92 MB / 0.7371 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/1.283, allocations: 0.7617 MB / 1.13 GB, free: 14.15 MB / 0.7371 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/1.283, allocations: 37.62 kB / 1.13 GB, free: 14.11 MB / 0.7371 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/1.283, allocations: 156.1 kB / 1.131 GB, free: 13.95 MB / 0.7371 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/1.283, allocations: 25.16 kB / 1.131 GB, free: 13.93 MB / 0.7371 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/1.283, allocations: 0 / 1.131 GB, free: 13.93 MB / 0.7371 GB Notification: Performance of setup shared object (initialization): time 0.0001952/1.283, allocations: 306 kB / 1.131 GB, free: 13.62 MB / 0.7371 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/1.283, allocations: 27.98 kB / 1.131 GB, free: 13.59 MB / 0.7371 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.424e-05/1.284, allocations: 88.2 kB / 1.131 GB, free: 13.49 MB / 0.7371 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.127e-05/1.284, allocations: 27.98 kB / 1.131 GB, free: 13.46 MB / 0.7371 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/1.284, allocations: 0 / 1.131 GB, free: 13.46 MB / 0.7371 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002576/1.284, allocations: 156.8 kB / 1.131 GB, free: 13.3 MB / 0.7371 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/1.284, allocations: 4 kB / 1.131 GB, free: 13.3 MB / 0.7371 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.284, allocations: 4 kB / 1.131 GB, free: 13.3 MB / 0.7371 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.284, allocations: 0 / 1.131 GB, free: 13.3 MB / 0.7371 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-05/1.284, allocations: 17.34 kB / 1.131 GB, free: 13.28 MB / 0.7371 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/1.284, allocations: 0 / 1.131 GB, free: 13.28 MB / 0.7371 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/1.284, allocations: 16.73 kB / 1.131 GB, free: 13.27 MB / 0.7371 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/1.284, allocations: 8 kB / 1.131 GB, free: 13.26 MB / 0.7371 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.000116/1.284, allocations: 105 kB / 1.131 GB, free: 13.15 MB / 0.7371 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-05/1.284, allocations: 64.28 kB / 1.131 GB, free: 13.09 MB / 0.7371 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/1.285, allocations: 173.2 kB / 1.132 GB, free: 12.91 MB / 0.7371 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/1.285, allocations: 4 kB / 1.132 GB, free: 12.9 MB / 0.7371 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/1.285, allocations: 0 / 1.132 GB, free: 12.9 MB / 0.7371 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.285, allocations: 4 kB / 1.132 GB, free: 12.9 MB / 0.7371 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/1.285, allocations: 365.9 kB / 1.132 GB, free: 12.5 MB / 0.7371 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.285, allocations: 0 / 1.132 GB, free: 12.5 MB / 0.7371 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/1.285, allocations: 11.98 kB / 1.132 GB, free: 12.49 MB / 0.7371 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/1.285, allocations: 0 / 1.132 GB, free: 12.49 MB / 0.7371 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/1.285, allocations: 0.875 kB / 1.132 GB, free: 12.49 MB / 0.7371 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-05/1.285, allocations: 10 kB / 1.132 GB, free: 12.48 MB / 0.7371 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.285, allocations: 0 / 1.132 GB, free: 12.48 MB / 0.7371 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002707/1.286, allocations: 188.2 kB / 1.132 GB, free: 12.28 MB / 0.7371 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000482/1.286, allocations: 0.567 MB / 1.133 GB, free: 11.69 MB / 0.7371 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/1.286, allocations: 144.2 kB / 1.133 GB, free: 11.53 MB / 0.7371 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.409e-05/1.287, allocations: 4.672 kB / 1.133 GB, free: 11.53 MB / 0.7371 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/1.287, allocations: 4 kB / 1.133 GB, free: 11.52 MB / 0.7371 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/1.287, allocations: 15.89 kB / 1.133 GB, free: 11.51 MB / 0.7371 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/1.287, allocations: 0 / 1.133 GB, free: 11.51 MB / 0.7371 GB Notification: Performance of sort global known variables: time 0.000796/1.288, allocations: 0.6279 MB / 1.133 GB, free: 10.89 MB / 0.7371 GB Notification: Performance of remove unused functions: time 0.0009916/1.289, allocations: 91.92 kB / 1.134 GB, free: 10.8 MB / 0.7371 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.001185/1.29, allocations: 495.6 kB / 1.134 GB, free: 10.41 MB / 0.7371 GB Notification: Performance of simCode: created initialization part: time 0.0002226/1.29, allocations: 79.95 kB / 1.134 GB, free: 10.34 MB / 0.7371 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.29, allocations: 0 / 1.134 GB, free: 10.34 MB / 0.7371 GB Notification: Performance of simCode: created simulation system equations: time 7.823e-05/1.29, allocations: 39.94 kB / 1.134 GB, free: 10.3 MB / 0.7371 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006663/1.291, allocations: 132.2 kB / 1.134 GB, free: 10.17 MB / 0.7371 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/1.292, allocations: 0.866 MB / 1.135 GB, free: 9.273 MB / 0.7371 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007048/1.293, allocations: 1.021 MB / 1.136 GB, free: 8.227 MB / 0.7371 GB Notification: Performance of SimCode: time 7.71e-07/1.293, allocations: 0 / 1.136 GB, free: 8.227 MB / 0.7371 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)