Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [: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.543/2.543, allocations: 253.1 MB / 260.4 MB, free: 7.562 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.001689/0.001689, allocations: 169.3 kB / 319.6 MB, free: 3.336 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 1.997/1.997, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.00188/0.00188, allocations: 91.38 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.026e-05/1.043e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2254, allocations: 106.2 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7328/0.9583, allocations: 133.6 MB / 1.019 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.9587, allocations: 87.3 kB / 1.019 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02707/0.9858, allocations: 4.898 MB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.9858, allocations: 0 / 1.023 GB, free: 0.6094 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006841/0.9865, allocations: 393.2 kB / 1.024 GB, free: 192 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.9866, allocations: 12.03 kB / 1.024 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.9867, allocations: 11.91 kB / 1.024 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.9871, allocations: 198.7 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.9871, allocations: 0 / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.9872, allocations: 4 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001402/0.9873, allocations: 30.06 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.9875, allocations: 51.67 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.9875, allocations: 0 / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.9875, allocations: 0 / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.9875, allocations: 4 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.9881, allocations: 275.5 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.9883, allocations: 40.08 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.806e-05/0.9884, allocations: 27.33 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.9884, allocations: 4.062 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.9884, allocations: 30.56 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 2.906e-06/0.9885, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.0003313/0.9888, allocations: 66.53 kB / 1.025 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.9888, allocations: 55.31 kB / 1.025 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.989, allocations: 115.1 kB / 1.025 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.989, allocations: 29.7 kB / 1.025 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.9891, allocations: 87.56 kB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.9891, allocations: 19.38 kB / 1.025 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.9891, allocations: 0 / 1.025 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.9893, allocations: 321.5 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.9893, allocations: 10.81 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.9894, allocations: 13.62 kB / 1.025 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.78e-05/0.9895, allocations: 18.67 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.9895, allocations: 7.906 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002345/0.9897, allocations: 70.59 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.9898, allocations: 4 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.9898, allocations: 0 / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.9898, allocations: 0 / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.9901, allocations: 15.98 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.9901, allocations: 4 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.9902, allocations: 8 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.9902, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 9.122e-05/0.9903, allocations: 111.6 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.9904, allocations: 14.39 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.9907, allocations: 76.36 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.9907, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.9908, allocations: 4 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.9908, allocations: 3.938 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.991, allocations: 157.6 kB / 1.026 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.9911, allocations: 3.906 kB / 1.026 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.9913, allocations: 19.98 kB / 1.026 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.9913, allocations: 0 / 1.026 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.9913, allocations: 3.75 kB / 1.026 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.9913, allocations: 0 / 1.026 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.9913, allocations: 4 kB / 1.026 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002688/0.9916, allocations: 166.5 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.9917, allocations: 96.92 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.9917, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.9919, allocations: 4.781 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.9919, allocations: 11.89 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.992, allocations: 0 / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.562e-05/0.992, allocations: 96.97 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003674/0.9924, allocations: 27.98 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0002474/0.9927, allocations: 111.2 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.9929, allocations: 37.86 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9929, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.084e-05/0.993, allocations: 23.31 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.9933, allocations: 15.25 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.9938, allocations: 105.3 kB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/0.9941, allocations: 0.7036 MB / 1.027 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of SimCode: time 9.02e-07/0.9942, allocations: 0 / 1.027 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of Templates: time 0.00508/0.9993, allocations: 1.047 MB / 1.028 GB, free: 11.75 MB / 0.6511 GB