Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.237/2.237, allocations: 253.1 MB / 260.4 MB, free: 7.422 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001687/0.001687, allocations: 181.3 kB / 319.6 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001297/0.001296, allocations: 105.2 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.157e-06/9.337e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2218, allocations: 106.2 MB / 0.888 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6981/0.9199, allocations: 132.3 MB / 1.017 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.9203, allocations: 72.2 kB / 1.017 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.008413/0.9287, allocations: 1.576 MB / 1.019 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.978e-05/0.9288, allocations: 8 kB / 1.019 GB, free: 4.586 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.0008741/0.9297, allocations: 420.6 kB / 1.019 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.9297, allocations: 12.03 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/0.9298, allocations: 16.56 kB / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.9301, allocations: 213.6 kB / 1.02 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.9301, allocations: 0 / 1.02 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.9302, allocations: 4 kB / 1.02 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002502/0.9304, allocations: 61.78 kB / 1.02 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.9307, allocations: 89.56 kB / 1.02 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.9307, allocations: 4 kB / 1.02 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.9307, allocations: 0 / 1.02 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.9307, allocations: 4 kB / 1.02 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009951/0.9317, allocations: 442.8 kB / 1.02 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.9322, allocations: 108.1 kB / 1.02 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.9323, allocations: 42.41 kB / 1.02 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.9324, allocations: 7.938 kB / 1.02 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.9324, allocations: 31.44 kB / 1.02 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.215e-06/0.9324, allocations: 2.625 kB / 1.02 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004105/0.9328, allocations: 110.1 kB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.9329, allocations: 81.11 kB / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.9331, allocations: 138.2 kB / 1.021 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.9331, allocations: 25.7 kB / 1.021 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.9332, allocations: 103.2 kB / 1.021 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.262e-05/0.9333, allocations: 30.92 kB / 1.021 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/0.9333, allocations: 0 / 1.021 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.9335, allocations: 322.5 kB / 1.021 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.565e-05/0.9336, allocations: 22.62 kB / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.9337, allocations: 36.22 kB / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.9339, allocations: 30.3 kB / 1.021 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9339, allocations: 0 / 1.021 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000301/0.9342, allocations: 112.8 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.9342, allocations: 10.19 kB / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9342, allocations: 0 / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.9343, allocations: 0 / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.9346, allocations: 23.98 kB / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.9346, allocations: 4 kB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.9349, allocations: 19.89 kB / 1.021 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.9349, allocations: 7.125 kB / 1.021 GB, free: 2.102 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 9.338e-05/0.935, allocations: 108.9 kB / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.235e-05/0.9351, allocations: 15.81 kB / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/0.9355, allocations: 123.1 kB / 1.022 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.9355, allocations: 3.938 kB / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.9355, allocations: 0 / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.9356, allocations: 0 / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.9359, allocations: 195.3 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.936, allocations: 0 / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.9363, allocations: 31.98 kB / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.9363, allocations: 0 / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.9363, allocations: 0 / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.9363, allocations: 0 / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.9363, allocations: 4 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003506/0.9367, allocations: 284.6 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.9368, allocations: 93.09 kB / 1.022 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.9368, allocations: 8 kB / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.9371, allocations: 15.98 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.9372, allocations: 0 / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.9372, allocations: 4 kB / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001149/0.9374, allocations: 118.6 kB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004158/0.9378, allocations: 28 kB / 1.022 GB, free: 1.09 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.0001441/0.9379, allocations: 103.2 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.9382, allocations: 66.25 kB / 1.022 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9382, allocations: 0 / 1.022 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.9384, allocations: 38.38 kB / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.9389, allocations: 36.7 kB / 1.023 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006187/0.9395, allocations: 151.6 kB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004578/0.94, allocations: 0.7307 MB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of SimCode: time 8.82e-07/0.94, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of Templates: time 0.00736/0.9474, allocations: 1.946 MB / 1.025 GB, free: 14.07 MB / 0.6511 GB