Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.581/2.581, allocations: 248.6 MB / 255.9 MB, free: 7.184 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.00167/0.00167, allocations: 181.2 kB / 315.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.1 MB / 0.5658 GB, free: 300 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00244/0.00244, allocations: 95.3 kB / 0.67 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.492/0.4945, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.7118, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8009/1.513, allocations: 132.4 MB / 1.013 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003959/1.513, allocations: 65.84 kB / 1.013 GB, free: 7.805 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.01413/1.527, allocations: 2.017 MB / 1.015 GB, free: 6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.528, allocations: 8 kB / 1.015 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/1.528, allocations: 15.81 kB / 1.015 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/1.528, allocations: 206.4 kB / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/1.528, allocations: 4 kB / 1.015 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/1.528, allocations: 4 kB / 1.015 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002513/1.528, allocations: 59.7 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/1.529, allocations: 95.45 kB / 1.015 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.529, allocations: 4 kB / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/1.529, allocations: 0 / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/1.529, allocations: 0 / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/1.53, allocations: 448.1 kB / 1.016 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/1.53, allocations: 109.2 kB / 1.016 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/1.53, allocations: 39.78 kB / 1.016 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/1.53, allocations: 4 kB / 1.016 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/1.53, allocations: 37.56 kB / 1.016 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 3.226e-06/1.531, allocations: 0 / 1.016 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004193/1.531, allocations: 106.1 kB / 1.016 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/1.531, allocations: 77.11 kB / 1.016 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/1.531, allocations: 142.1 kB / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/1.531, allocations: 25.7 kB / 1.016 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/1.531, allocations: 103.2 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/1.531, allocations: 26.38 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/1.531, allocations: 0 / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.532, allocations: 322.6 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.25e-05/1.532, allocations: 22.69 kB / 1.017 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/1.532, allocations: 41.83 kB / 1.017 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/1.532, allocations: 26.44 kB / 1.017 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.532, allocations: 0 / 1.017 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003233/1.532, allocations: 114.7 kB / 1.017 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.532, allocations: 4 kB / 1.017 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.532, allocations: 0 / 1.017 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.532, allocations: 0 / 1.017 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/1.533, allocations: 28.17 kB / 1.017 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/1.533, allocations: 0 / 1.017 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/1.533, allocations: 27.83 kB / 1.017 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/1.533, allocations: 3 kB / 1.017 GB, free: 3.973 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 0.0001109/1.533, allocations: 108.9 kB / 1.017 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/1.533, allocations: 15.81 kB / 1.017 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/1.534, allocations: 118.6 kB / 1.017 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.534, allocations: 3.984 kB / 1.017 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.534, allocations: 0 / 1.017 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/1.534, allocations: 4 kB / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/1.534, allocations: 194.6 kB / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.534, allocations: 0 / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/1.535, allocations: 32.22 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/1.535, allocations: 0 / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/1.535, allocations: 4 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/1.535, allocations: 4 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.535, allocations: 0 / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004109/1.535, allocations: 281 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005442/1.536, allocations: 0.6603 MB / 1.018 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.212e-05/1.536, allocations: 88.92 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/1.536, allocations: 0 / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/1.536, allocations: 15.98 kB / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/1.536, allocations: 7.984 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/1.536, allocations: 4 kB / 1.018 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001453/1.536, allocations: 118.8 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001228/1.538, allocations: 27.91 kB / 1.018 GB, free: 2.305 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 0.0001549/1.538, allocations: 99.19 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003322/1.538, allocations: 72 kB / 1.019 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/1.538, allocations: 0 / 1.019 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/1.538, allocations: 39.61 kB / 1.019 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/1.54, allocations: 28.05 kB / 1.019 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009151/1.541, allocations: 162.4 kB / 1.019 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/1.541, allocations: 0.7231 MB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of SimCode: time 1.383e-06/1.541, allocations: 4 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB