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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio") [: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.554/1.554, allocations: 289.8 MB / 297.1 MB, free: 6.598 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.001114/0.001114, allocations: 181.3 kB / 366.3 MB, free: 1.91 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.63/1.63, allocations: 205.1 MB / 0.6256 GB, free: 5.781 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.0009404/0.0009404, allocations: 83.19 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.298e-05/1.303e-05, allocations: 4 kB / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6723/0.6723, allocations: 116.3 MB / 0.9726 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.745/4.417, allocations: 2.056 GB / 3.028 GB, free: 20.44 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/4.418, allocations: 97.12 kB / 3.028 GB, free: 20.35 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.6145/5.032, allocations: 28.11 MB / 3.056 GB, free: 340.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.023e-05/5.032, allocations: 3.156 kB / 3.056 GB, free: 340.2 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.0005558/5.033, allocations: 421 kB / 3.056 GB, free: 339.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/5.033, allocations: 9.938 kB / 3.056 GB, free: 339.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/5.034, allocations: 174.3 kB / 3.056 GB, free: 339.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/5.034, allocations: 171.7 kB / 3.057 GB, free: 339.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.352e-05/5.034, allocations: 36.31 kB / 3.057 GB, free: 339.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/5.034, allocations: 7.375 kB / 3.057 GB, free: 339.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001875/5.034, allocations: 73.94 kB / 3.057 GB, free: 339.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/5.035, allocations: 90.86 kB / 3.057 GB, free: 339.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/5.035, allocations: 0 / 3.057 GB, free: 339.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/5.035, allocations: 1.719 kB / 3.057 GB, free: 339.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/5.035, allocations: 2.906 kB / 3.057 GB, free: 339.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/5.035, allocations: 404.9 kB / 3.057 GB, free: 339.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/5.036, allocations: 65.75 kB / 3.057 GB, free: 339.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/5.036, allocations: 45.05 kB / 3.057 GB, free: 339.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/5.036, allocations: 3.5 kB / 3.057 GB, free: 339.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/5.036, allocations: 36.66 kB / 3.057 GB, free: 339.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/5.036, allocations: 0 / 3.057 GB, free: 339.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0004047/5.036, allocations: 101.3 kB / 3.057 GB, free: 339.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/5.036, allocations: 51.41 kB / 3.058 GB, free: 339.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/5.036, allocations: 118.2 kB / 3.058 GB, free: 339 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/5.036, allocations: 28.33 kB / 3.058 GB, free: 339 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/5.036, allocations: 97.61 kB / 3.058 GB, free: 338.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/5.036, allocations: 15.16 kB / 3.058 GB, free: 338.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/5.036, allocations: 0 / 3.058 GB, free: 338.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.64e-05/5.036, allocations: 320.1 kB / 3.058 GB, free: 338.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-05/5.036, allocations: 28.72 kB / 3.058 GB, free: 338.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.577e-05/5.036, allocations: 28.61 kB / 3.058 GB, free: 338.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.031e-05/5.037, allocations: 22.44 kB / 3.058 GB, free: 338.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/5.037, allocations: 4 kB / 3.058 GB, free: 338.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001688/5.037, allocations: 95.77 kB / 3.058 GB, free: 338.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/5.037, allocations: 2.594 kB / 3.058 GB, free: 338.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/5.037, allocations: 1.5 kB / 3.058 GB, free: 338.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/5.037, allocations: 9.031 kB / 3.058 GB, free: 338.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/5.037, allocations: 44.91 kB / 3.058 GB, free: 338.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/5.037, allocations: 0 / 3.058 GB, free: 338.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/5.037, allocations: 42.56 kB / 3.058 GB, free: 338.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/5.037, allocations: 3.219 kB / 3.058 GB, free: 338.5 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.367e-05/5.037, allocations: 108.4 kB / 3.058 GB, free: 338.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/5.037, allocations: 6.688 kB / 3.058 GB, free: 338.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/5.038, allocations: 13.5 kB / 3.058 GB, free: 338.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/5.038, allocations: 0 / 3.058 GB, free: 338.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/5.038, allocations: 3.906 kB / 3.058 GB, free: 338.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/5.038, allocations: 2.906 kB / 3.058 GB, free: 338.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/5.038, allocations: 185.6 kB / 3.059 GB, free: 338.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/5.038, allocations: 256 / 3.059 GB, free: 338.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/5.038, allocations: 53.38 kB / 3.059 GB, free: 338.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/5.038, allocations: 6.438 kB / 3.059 GB, free: 338.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/5.038, allocations: 7.688 kB / 3.059 GB, free: 338.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/5.038, allocations: 0 / 3.059 GB, free: 338.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/5.038, allocations: 3.906 kB / 3.059 GB, free: 338.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001978/5.038, allocations: 189.1 kB / 3.059 GB, free: 338.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/5.038, allocations: 85.89 kB / 3.059 GB, free: 338 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/5.038, allocations: 0 / 3.059 GB, free: 338 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/5.039, allocations: 40.44 kB / 3.059 GB, free: 338 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/5.039, allocations: 15.06 kB / 3.059 GB, free: 338 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/5.039, allocations: 0 / 3.059 GB, free: 338 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.676e-05/5.039, allocations: 93.59 kB / 3.059 GB, free: 337.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003009/5.039, allocations: 43.81 kB / 3.059 GB, free: 337.9 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.0007213/5.04, allocations: 0.6624 MB / 3.06 GB, free: 337.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002139/5.04, allocations: 74.23 kB / 3.06 GB, free: 337.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/5.04, allocations: 0 / 3.06 GB, free: 337.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.118e-05/5.04, allocations: 41.44 kB / 3.06 GB, free: 337.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/5.04, allocations: 5.828 kB / 3.06 GB, free: 337.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009074/5.041, allocations: 211.4 kB / 3.06 GB, free: 337.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/5.041, allocations: 0.7181 MB / 3.061 GB, free: 336.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/5.041, allocations: 0 / 3.061 GB, free: 336.9 MB / 0.948 GB Notification: Performance of Templates: time 0.007789/5.049, allocations: 4.907 MB / 3.066 GB, free: 336.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1)