Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.SpeedShift,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.542/1.542, allocations: 289.8 MB / 297 MB, free: 6.641 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.001331/0.001331, allocations: 177.3 kB / 366.3 MB, free: 1.992 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.463/1.463, allocations: 205.1 MB / 0.6256 GB, free: 7.453 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.001208/0.001208, allocations: 96.36 kB / 0.7395 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2979/0.2992, allocations: 122.4 MB / 0.8591 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7598/1.059, allocations: 116.3 MB / 0.9727 GB, free: 76.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.211/1.27, allocations: 145.1 MB / 1.114 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00044/1.271, allocations: 95.22 kB / 1.114 GB, free: 5.301 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.03689/1.308, allocations: 13.25 MB / 1.127 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.308, allocations: 8 kB / 1.127 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.33e-05/1.308, allocations: 67.25 kB / 1.127 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/1.308, allocations: 345.4 kB / 1.128 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/1.308, allocations: 4 kB / 1.128 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/1.308, allocations: 8 kB / 1.128 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002068/1.309, allocations: 98.06 kB / 1.128 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/1.309, allocations: 130 kB / 1.128 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/1.309, allocations: 0 / 1.128 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/1.309, allocations: 0 / 1.128 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/1.309, allocations: 0 / 1.128 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008476/1.31, allocations: 0.5166 MB / 1.129 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/1.31, allocations: 118.5 kB / 1.129 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/1.31, allocations: 72.97 kB / 1.129 GB, free: 6.582 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/1.31, allocations: 4 kB / 1.129 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/1.31, allocations: 133.9 kB / 1.129 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/1.31, allocations: 0 / 1.129 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0004411/1.311, allocations: 204.9 kB / 1.129 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/1.311, allocations: 85.11 kB / 1.129 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007627/1.312, allocations: 0.6206 MB / 1.13 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/1.312, allocations: 29.7 kB / 1.13 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/1.312, allocations: 159.8 kB / 1.13 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/1.312, allocations: 27.66 kB / 1.13 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-06/1.312, allocations: 0 / 1.13 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001909/1.312, allocations: 375.8 kB / 1.13 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.799e-05/1.312, allocations: 51.97 kB / 1.13 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/1.312, allocations: 47.98 kB / 1.13 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/1.312, allocations: 59.34 kB / 1.13 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.312, allocations: 4 kB / 1.13 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003209/1.313, allocations: 204.9 kB / 1.131 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.313, allocations: 8 kB / 1.131 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.313, allocations: 0 / 1.131 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.313, allocations: 7.844 kB / 1.131 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/1.313, allocations: 8 kB / 1.131 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/1.313, allocations: 0 / 1.131 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/1.313, allocations: 12.95 kB / 1.131 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/1.313, allocations: 7.938 kB / 1.131 GB, free: 4.488 MB / 0.7292 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.0001361/1.313, allocations: 146.1 kB / 1.131 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.828e-05/1.313, allocations: 63.23 kB / 1.131 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/1.314, allocations: 236.1 kB / 1.131 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/1.314, allocations: 0 / 1.131 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/1.314, allocations: 4.844 kB / 1.131 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.314, allocations: 3.938 kB / 1.131 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/1.314, allocations: 334 kB / 1.131 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.314, allocations: 0 / 1.131 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/1.314, allocations: 11.98 kB / 1.131 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.314, allocations: 4 kB / 1.131 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/1.314, allocations: 18.45 kB / 1.132 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.314, allocations: 0 / 1.132 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.314, allocations: 0 / 1.132 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003407/1.315, allocations: 248.9 kB / 1.132 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000489/1.315, allocations: 0.6256 MB / 1.132 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/1.315, allocations: 148.3 kB / 1.132 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-05/1.315, allocations: 0 / 1.132 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/1.315, allocations: 8 kB / 1.132 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/1.315, allocations: 7.984 kB / 1.133 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/1.316, allocations: 8 kB / 1.133 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0006436/1.316, allocations: 0.5116 MB / 1.133 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001265/1.317, allocations: 155.7 kB / 1.133 GB, free: 1.875 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: 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.0006927/1.318, allocations: 363.3 kB / 1.134 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002618/1.318, allocations: 145.6 kB / 1.134 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.318, allocations: 4 kB / 1.134 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/1.319, allocations: 109.7 kB / 1.134 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/1.319, allocations: 92.45 kB / 1.134 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/1.32, allocations: 0.7921 MB / 1.135 GB, free: 348 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007363/1.321, allocations: 0.987 MB / 1.136 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/1.321, allocations: 3.938 kB / 1.136 GB, free: 15.32 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)