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.SensibleHeatRatio.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.SensibleHeatRatio,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",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.244/1.244, allocations: 249.4 MB / 256.7 MB, free: 0.7188 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001039, allocations: 180 kB / 316 MB, free: 8.883 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.187/1.187, allocations: 205.1 MB / 0.5667 GB, free: 13.41 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008433/0.0008433, allocations: 90 kB / 0.671 GB, free: 51.66 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2117/0.2126, allocations: 112.5 MB / 0.7808 GB, free: 9.828 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5071/0.7197, allocations: 106.3 MB / 0.8847 GB, free: 89.14 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.402/4.121, allocations: 2.173 GB / 3.058 GB, free: 191.1 MB / 0.8777 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/4.122, allocations: 93.95 kB / 3.058 GB, free: 191 MB / 0.8777 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.04979/4.172, allocations: 28.15 MB / 3.085 GB, free: 162.9 MB / 0.8777 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/4.172, allocations: 8 kB / 3.085 GB, free: 162.9 MB / 0.8777 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/4.173, allocations: 169.8 kB / 3.085 GB, free: 162.8 MB / 0.8777 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/4.173, allocations: 186.8 kB / 3.085 GB, free: 162.6 MB / 0.8777 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/4.173, allocations: 29.7 kB / 3.086 GB, free: 162.5 MB / 0.8777 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/4.173, allocations: 4.75 kB / 3.086 GB, free: 162.5 MB / 0.8777 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001773/4.173, allocations: 75.98 kB / 3.086 GB, free: 162.4 MB / 0.8777 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/4.173, allocations: 101 kB / 3.086 GB, free: 162.3 MB / 0.8777 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/4.173, allocations: 0 / 3.086 GB, free: 162.3 MB / 0.8777 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/4.173, allocations: 4 kB / 3.086 GB, free: 162.3 MB / 0.8777 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/4.173, allocations: 0 / 3.086 GB, free: 162.3 MB / 0.8777 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/4.174, allocations: 402.4 kB / 3.086 GB, free: 161.9 MB / 0.8777 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/4.174, allocations: 62.56 kB / 3.086 GB, free: 161.8 MB / 0.8777 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.373e-05/4.174, allocations: 43.52 kB / 3.086 GB, free: 161.8 MB / 0.8777 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/4.174, allocations: 3.938 kB / 3.086 GB, free: 161.8 MB / 0.8777 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/4.174, allocations: 32.12 kB / 3.086 GB, free: 161.8 MB / 0.8777 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/4.174, allocations: 0 / 3.086 GB, free: 161.8 MB / 0.8777 GB Notification: Performance of matching and sorting (n=6): time 0.0003306/4.175, allocations: 105.6 kB / 3.086 GB, free: 161.6 MB / 0.8777 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.414e-05/4.175, allocations: 51.41 kB / 3.086 GB, free: 161.6 MB / 0.8777 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.784e-05/4.175, allocations: 113 kB / 3.086 GB, free: 161.5 MB / 0.8777 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/4.175, allocations: 25.7 kB / 3.087 GB, free: 161.4 MB / 0.8777 GB Notification: Performance of collectInitialEqns (initialization): time 2.484e-05/4.175, allocations: 100.3 kB / 3.087 GB, free: 161.3 MB / 0.8777 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/4.175, allocations: 23.53 kB / 3.087 GB, free: 161.3 MB / 0.8777 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/4.175, allocations: 0 / 3.087 GB, free: 161.3 MB / 0.8777 GB Notification: Performance of setup shared object (initialization): time 3.961e-05/4.175, allocations: 314.8 kB / 3.087 GB, free: 161 MB / 0.8777 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-05/4.175, allocations: 28 kB / 3.087 GB, free: 161 MB / 0.8777 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.284e-05/4.175, allocations: 35.98 kB / 3.087 GB, free: 160.9 MB / 0.8777 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.583e-05/4.175, allocations: 26.5 kB / 3.087 GB, free: 160.9 MB / 0.8777 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/4.175, allocations: 0 / 3.087 GB, free: 160.9 MB / 0.8777 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000155/4.175, allocations: 89.53 kB / 3.087 GB, free: 160.8 MB / 0.8777 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/4.175, allocations: 14.95 kB / 3.087 GB, free: 160.8 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/4.175, allocations: 0 / 3.087 GB, free: 160.8 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/4.175, allocations: 0 / 3.087 GB, free: 160.8 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/4.176, allocations: 51.95 kB / 3.087 GB, free: 160.8 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/4.176, allocations: 3.359 kB / 3.087 GB, free: 160.8 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/4.176, allocations: 39.91 kB / 3.087 GB, free: 160.7 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/4.176, allocations: 4 kB / 3.087 GB, free: 160.7 MB / 0.8777 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.914e-05/4.176, allocations: 108.9 kB / 3.087 GB, free: 160.6 MB / 0.8777 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/4.176, allocations: 11.89 kB / 3.087 GB, free: 160.6 MB / 0.8777 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/4.176, allocations: 8.375 kB / 3.087 GB, free: 160.6 MB / 0.8777 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/4.176, allocations: 7 kB / 3.087 GB, free: 160.6 MB / 0.8777 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/4.176, allocations: 0 / 3.087 GB, free: 160.6 MB / 0.8777 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/4.176, allocations: 0 / 3.087 GB, free: 160.6 MB / 0.8777 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/4.176, allocations: 190.1 kB / 3.088 GB, free: 160.3 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/4.176, allocations: 0 / 3.088 GB, free: 160.3 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/4.177, allocations: 51.89 kB / 3.088 GB, free: 160.3 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/4.177, allocations: 5.688 kB / 3.088 GB, free: 160.3 MB / 0.8777 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/4.177, allocations: 0 / 3.088 GB, free: 160.3 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/4.177, allocations: 0 / 3.088 GB, free: 160.3 MB / 0.8777 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/4.177, allocations: 0 / 3.088 GB, free: 160.3 MB / 0.8777 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001688/4.177, allocations: 191.4 kB / 3.088 GB, free: 160.1 MB / 0.8777 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00024/4.177, allocations: 0.5792 MB / 3.088 GB, free: 159.5 MB / 0.8777 GB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/4.177, allocations: 81.11 kB / 3.088 GB, free: 159.4 MB / 0.8777 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/4.177, allocations: 7.891 kB / 3.088 GB, free: 159.4 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/4.177, allocations: 35.97 kB / 3.088 GB, free: 159.3 MB / 0.8777 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/4.177, allocations: 13.41 kB / 3.088 GB, free: 159.3 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/4.177, allocations: 0 / 3.088 GB, free: 159.3 MB / 0.8777 GB Notification: Performance of sort global known variables: time 2.933e-05/4.177, allocations: 98.52 kB / 3.089 GB, free: 159.2 MB / 0.8777 GB Notification: Performance of remove unused functions: time 0.0008714/4.178, allocations: 91.98 kB / 3.089 GB, free: 159.2 MB / 0.8777 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0005406/4.179, allocations: 0.6516 MB / 3.089 GB, free: 158.5 MB / 0.8777 GB Notification: Performance of simCode: created initialization part: time 0.0001577/4.179, allocations: 67.98 kB / 3.089 GB, free: 158.4 MB / 0.8777 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/4.179, allocations: 0 / 3.089 GB, free: 158.4 MB / 0.8777 GB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/4.179, allocations: 47.92 kB / 3.089 GB, free: 158.4 MB / 0.8777 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/4.179, allocations: 6.547 kB / 3.089 GB, free: 158.4 MB / 0.8777 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008495/4.18, allocations: 211.7 kB / 3.09 GB, free: 158.2 MB / 0.8777 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/4.18, allocations: 0.7152 MB / 3.09 GB, free: 157.4 MB / 0.8777 GB Notification: Performance of SimCode: time 3.61e-07/4.18, allocations: 2.438 kB / 3.09 GB, free: 157.4 MB / 0.8777 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1)