Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.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.SensibleHeatRatio,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.629/1.629, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.001627/0.001627, allocations: 173.3 kB / 366.3 MB, free: 2.008 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.425/1.425, allocations: 205.2 MB / 0.6256 GB, free: 5.836 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.0009588/0.0009588, allocations: 91.52 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2845/0.2855, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6806/0.9662, allocations: 116.3 MB / 0.9727 GB, free: 68.52 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.048/5.014, allocations: 2.056 GB / 3.028 GB, free: 20.67 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/5.014, allocations: 93.34 kB / 3.029 GB, free: 20.58 MB / 0.948 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.6068/5.621, allocations: 28.53 MB / 3.056 GB, free: 340.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/5.621, allocations: 9.031 kB / 3.056 GB, free: 340.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/5.622, allocations: 180.2 kB / 3.057 GB, free: 340.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/5.622, allocations: 172.8 kB / 3.057 GB, free: 340 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.859e-05/5.623, allocations: 37.25 kB / 3.057 GB, free: 339.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/5.623, allocations: 3.344 kB / 3.057 GB, free: 339.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001866/5.623, allocations: 76.97 kB / 3.057 GB, free: 339.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/5.623, allocations: 95.92 kB / 3.057 GB, free: 339.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/5.623, allocations: 0 / 3.057 GB, free: 339.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/5.623, allocations: 3.188 kB / 3.057 GB, free: 339.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/5.623, allocations: 0 / 3.057 GB, free: 339.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008569/5.624, allocations: 398.5 kB / 3.057 GB, free: 339.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/5.624, allocations: 66.98 kB / 3.057 GB, free: 339.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.073e-05/5.624, allocations: 37.05 kB / 3.057 GB, free: 339.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/5.624, allocations: 4.469 kB / 3.057 GB, free: 339.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/5.624, allocations: 39.28 kB / 3.057 GB, free: 339.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/5.624, allocations: 0 / 3.057 GB, free: 339.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.000369/5.625, allocations: 98.97 kB / 3.058 GB, free: 339.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/5.625, allocations: 52.97 kB / 3.058 GB, free: 339.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.332e-05/5.625, allocations: 121.7 kB / 3.058 GB, free: 339.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/5.625, allocations: 25.7 kB / 3.058 GB, free: 339.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/5.625, allocations: 97.42 kB / 3.058 GB, free: 339.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/5.625, allocations: 17.92 kB / 3.058 GB, free: 339.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/5.625, allocations: 0 / 3.058 GB, free: 339.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.169e-05/5.625, allocations: 315.1 kB / 3.058 GB, free: 338.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-05/5.625, allocations: 29.8 kB / 3.058 GB, free: 338.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.613e-05/5.625, allocations: 31.66 kB / 3.058 GB, free: 338.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.317e-05/5.625, allocations: 21.5 kB / 3.058 GB, free: 338.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/5.625, allocations: 0 / 3.058 GB, free: 338.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001728/5.625, allocations: 96.98 kB / 3.058 GB, free: 338.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/5.625, allocations: 8.281 kB / 3.058 GB, free: 338.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/5.625, allocations: 1.375 kB / 3.058 GB, free: 338.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/5.625, allocations: 4.562 kB / 3.058 GB, free: 338.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/5.626, allocations: 47.39 kB / 3.058 GB, free: 338.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/5.626, allocations: 3.375 kB / 3.058 GB, free: 338.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/5.626, allocations: 43.31 kB / 3.058 GB, free: 338.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/5.626, allocations: 0 / 3.058 GB, free: 338.9 MB / 0.948 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.81e-05/5.626, allocations: 111 kB / 3.059 GB, free: 338.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/5.626, allocations: 6.625 kB / 3.059 GB, free: 338.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/5.626, allocations: 15.83 kB / 3.059 GB, free: 338.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/5.626, allocations: 0 / 3.059 GB, free: 338.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/5.626, allocations: 3.906 kB / 3.059 GB, free: 338.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/5.626, allocations: 0 / 3.059 GB, free: 338.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/5.626, allocations: 186 kB / 3.059 GB, free: 338.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/5.626, allocations: 0 / 3.059 GB, free: 338.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/5.627, allocations: 51.02 kB / 3.059 GB, free: 338.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/5.627, allocations: 0 / 3.059 GB, free: 338.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/5.627, allocations: 4.75 kB / 3.059 GB, free: 338.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/5.627, allocations: 0 / 3.059 GB, free: 338.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/5.627, allocations: 7.844 kB / 3.059 GB, free: 338.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001986/5.627, allocations: 191.9 kB / 3.059 GB, free: 338.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003004/5.627, allocations: 0.5749 MB / 3.06 GB, free: 338 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/5.627, allocations: 85.02 kB / 3.06 GB, free: 337.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/5.627, allocations: 3.609 kB / 3.06 GB, free: 337.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/5.627, allocations: 42.48 kB / 3.06 GB, free: 337.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/5.628, allocations: 10.55 kB / 3.06 GB, free: 337.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/5.628, allocations: 3.375 kB / 3.06 GB, free: 337.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.234e-05/5.628, allocations: 90.22 kB / 3.06 GB, free: 337.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009685/5.629, allocations: 95.69 kB / 3.06 GB, free: 337.8 MB / 0.948 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.0007367/5.629, allocations: 0.6638 MB / 3.061 GB, free: 337.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001907/5.63, allocations: 66.88 kB / 3.061 GB, free: 337.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/5.63, allocations: 0 / 3.061 GB, free: 337.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.188e-05/5.63, allocations: 40.12 kB / 3.061 GB, free: 337.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/5.63, allocations: 3.688 kB / 3.061 GB, free: 337.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009753/5.631, allocations: 211.9 kB / 3.061 GB, free: 337.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/5.631, allocations: 0.7198 MB / 3.062 GB, free: 336.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/5.631, allocations: 1.406 kB / 3.062 GB, free: 336.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1)