Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.36/1.36, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.00098/0.00098, allocations: 181.2 kB / 366.3 MB, free: 2.016 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.058/1.058, allocations: 205.2 MB / 0.6256 GB, free: 5.828 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.0008069/0.0008069, allocations: 103 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2021/0.203, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4461/0.6491, allocations: 116.3 MB / 0.9726 GB, free: 68.1 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.7914, allocations: 138.8 MB / 1.108 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.7916, allocations: 71.89 kB / 1.108 GB, free: 9.621 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00533/0.797, allocations: 2.005 MB / 1.11 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.797, allocations: 8 kB / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.7971, allocations: 11.91 kB / 1.11 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.7973, allocations: 210.7 kB / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.7973, allocations: 7.984 kB / 1.11 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.7974, allocations: 5.125 kB / 1.11 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001435/0.7975, allocations: 55.98 kB / 1.11 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.7977, allocations: 92.73 kB / 1.111 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.7977, allocations: 0 / 1.111 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.7977, allocations: 0 / 1.111 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.7977, allocations: 4 kB / 1.111 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.7984, allocations: 445.3 kB / 1.111 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.7986, allocations: 109.2 kB / 1.111 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.616e-05/0.7987, allocations: 37.72 kB / 1.111 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.7988, allocations: 8.125 kB / 1.111 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.7988, allocations: 38.5 kB / 1.111 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.7988, allocations: 4 kB / 1.111 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002483/0.7991, allocations: 95.38 kB / 1.111 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.7991, allocations: 77.11 kB / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.7992, allocations: 140.5 kB / 1.111 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.7992, allocations: 25.7 kB / 1.111 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.7993, allocations: 103.9 kB / 1.112 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.7993, allocations: 27.55 kB / 1.112 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.7993, allocations: 7.938 kB / 1.112 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.7994, allocations: 322.8 kB / 1.112 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.514e-05/0.7995, allocations: 24 kB / 1.112 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.816e-05/0.7996, allocations: 37.72 kB / 1.112 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.197e-05/0.7996, allocations: 27.98 kB / 1.112 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7997, allocations: 0 / 1.112 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001743/0.7998, allocations: 109.6 kB / 1.112 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.7999, allocations: 4 kB / 1.112 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7999, allocations: 5.781 kB / 1.112 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.7999, allocations: 4 kB / 1.112 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.8001, allocations: 27.98 kB / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.8001, allocations: 7.922 kB / 1.112 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.8002, allocations: 16 kB / 1.112 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.8002, allocations: 0 / 1.112 GB, free: 5.34 MB / 0.7136 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.878e-05/0.8003, allocations: 116.8 kB / 1.112 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.8004, allocations: 7.906 kB / 1.112 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.8006, allocations: 114.7 kB / 1.112 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.8006, allocations: 0 / 1.112 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.8006, allocations: 7.906 kB / 1.112 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.8007, allocations: 4 kB / 1.112 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.8009, allocations: 190.2 kB / 1.113 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.8009, allocations: 0 / 1.113 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.8011, allocations: 27.92 kB / 1.113 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8011, allocations: 0 / 1.113 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.8011, allocations: 4 kB / 1.113 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.8011, allocations: 3.906 kB / 1.113 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8011, allocations: 4 kB / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002165/0.8013, allocations: 289.4 kB / 1.113 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002935/0.8016, allocations: 0.6524 MB / 1.114 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.8017, allocations: 92.98 kB / 1.114 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.8017, allocations: 192 / 1.114 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.8019, allocations: 23.89 kB / 1.114 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.802, allocations: 7.938 kB / 1.114 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.802, allocations: 8 kB / 1.114 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.14e-05/0.8021, allocations: 116.9 kB / 1.114 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000936/0.803, allocations: 25.31 kB / 1.114 GB, free: 3.551 MB / 0.7136 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 8.433e-05/0.8031, allocations: 103.2 kB / 1.114 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.8032, allocations: 67.94 kB / 1.114 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.8033, allocations: 0 / 1.114 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.701e-05/0.8033, allocations: 36 kB / 1.114 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.8036, allocations: 33.3 kB / 1.114 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.804, allocations: 152.8 kB / 1.114 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.8043, allocations: 0.7368 MB / 1.115 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.8043, allocations: 0 / 1.115 GB, free: 2.367 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)