Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.295/1.295, allocations: 249.4 MB / 256.7 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009675/0.0009675, allocations: 181.2 kB / 316 MB, free: 3.582 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.11/1.11, allocations: 205.1 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008427/0.0008426, allocations: 90.23 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3325/0.3334, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.4973, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.459/0.9563, allocations: 132.6 MB / 1.014 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.9566, allocations: 70.28 kB / 1.014 GB, free: 5.996 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00561/0.9622, allocations: 2.006 MB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.9623, allocations: 12 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.9623, allocations: 11.81 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.9626, allocations: 209.7 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.9626, allocations: 0 / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.9626, allocations: 7.906 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001457/0.9628, allocations: 64.11 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.9629, allocations: 87.31 kB / 1.017 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.963, allocations: 0 / 1.017 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.963, allocations: 0 / 1.017 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.963, allocations: 4 kB / 1.017 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007001/0.9637, allocations: 441.8 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.964, allocations: 115.6 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.529e-05/0.964, allocations: 42.28 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.9641, allocations: 1.109 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.9641, allocations: 30.56 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.9641, allocations: 0 / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002511/0.9644, allocations: 103.1 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.9644, allocations: 85.11 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.9646, allocations: 139.6 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.9646, allocations: 25.7 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.9646, allocations: 101.1 kB / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.9647, allocations: 26.81 kB / 1.018 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.9647, allocations: 0 / 1.018 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.9648, allocations: 322.4 kB / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.997e-05/0.9649, allocations: 25.44 kB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.788e-05/0.9649, allocations: 47.14 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.458e-05/0.965, allocations: 21.75 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.965, allocations: 0 / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001755/0.9652, allocations: 113.4 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.9652, allocations: 8 kB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.9652, allocations: 0 / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.9652, allocations: 0 / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.9654, allocations: 28.17 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.9654, allocations: 4 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.9656, allocations: 19.89 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.9656, allocations: 4 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.338e-05/0.9657, allocations: 112.9 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.9657, allocations: 18.88 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.966, allocations: 109.7 kB / 1.018 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.966, allocations: 3.938 kB / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.966, allocations: 3.984 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.966, allocations: 0 / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.9663, allocations: 195 kB / 1.019 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9663, allocations: 0 / 1.019 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.9664, allocations: 35.97 kB / 1.019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9664, allocations: 3.938 kB / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.9665, allocations: 0 / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.9665, allocations: 0 / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.9665, allocations: 4 kB / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002541/0.9667, allocations: 284.3 kB / 1.019 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003561/0.9671, allocations: 0.6534 MB / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.9671, allocations: 88.92 kB / 1.02 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.9672, allocations: 8.094 kB / 1.02 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.9674, allocations: 15.92 kB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.9674, allocations: 7.984 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/0.9675, allocations: 0 / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.563e-05/0.9675, allocations: 114.8 kB / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000886/0.9684, allocations: 35.91 kB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 9.869e-05/0.9685, allocations: 99.89 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.9687, allocations: 65.69 kB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.9687, allocations: 0 / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/0.9688, allocations: 37.92 kB / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.9691, allocations: 34.66 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.9695, allocations: 150.7 kB / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003874/0.9699, allocations: 0.7231 MB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of SimCode: time 2e-07/0.9699, allocations: 4 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)