Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [: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.489/2.489, allocations: 253.1 MB / 260.4 MB, free: 7.547 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.00163/0.00163, allocations: 193.2 kB / 319.6 MB, free: 3.293 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.063/2.063, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001286/0.001286, allocations: 91.34 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.522e-05/1.552e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2366, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6461/0.8827, allocations: 131.4 MB / 1.016 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.8831, allocations: 69.83 kB / 1.016 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003949/0.887, allocations: 0.8368 MB / 1.017 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.8871, allocations: 0 / 1.017 GB, free: 6.125 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004574/0.8876, allocations: 368.9 kB / 1.018 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.8876, allocations: 12.03 kB / 1.018 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.8877, allocations: 7.906 kB / 1.018 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.8879, allocations: 186.8 kB / 1.018 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.888, allocations: 0 / 1.018 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.888, allocations: 4 kB / 1.018 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001398/0.8881, allocations: 35.34 kB / 1.018 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.8884, allocations: 77.91 kB / 1.018 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.8885, allocations: 7.984 kB / 1.018 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.8885, allocations: 4 kB / 1.018 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.8885, allocations: 0 / 1.018 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007628/0.8893, allocations: 414.8 kB / 1.018 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.577e-05/0.8894, allocations: 36.28 kB / 1.018 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.8894, allocations: 17.22 kB / 1.018 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.8894, allocations: 2.625 kB / 1.018 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.8895, allocations: 42.58 kB / 1.018 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/0.8895, allocations: 0 / 1.018 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002238/0.8897, allocations: 44.3 kB / 1.018 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.8898, allocations: 77.11 kB / 1.019 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.89, allocations: 129.5 kB / 1.019 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.89, allocations: 26.55 kB / 1.019 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.8901, allocations: 103.2 kB / 1.019 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.8901, allocations: 11.97 kB / 1.019 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.8901, allocations: 0 / 1.019 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.8903, allocations: 322.4 kB / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.8904, allocations: 7.312 kB / 1.019 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.194e-05/0.8904, allocations: 16.59 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.8905, allocations: 11.25 kB / 1.019 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.8905, allocations: 0 / 1.019 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001407/0.8906, allocations: 63.66 kB / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.8907, allocations: 4 kB / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.8907, allocations: 0 / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.8907, allocations: 4 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.8908, allocations: 11.84 kB / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.8908, allocations: 0.875 kB / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.8909, allocations: 7.938 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.8909, allocations: 0 / 1.019 GB, free: 3.984 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 (4): * Single equations (assignments): 4 * 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 8.31e-05/0.891, allocations: 103.5 kB / 1.019 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/0.8911, allocations: 16.2 kB / 1.019 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.8912, allocations: 18.78 kB / 1.019 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.8912, allocations: 3.938 kB / 1.019 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.8912, allocations: 0 / 1.019 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.8912, allocations: 3.906 kB / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005967/0.8918, allocations: 452 kB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8918, allocations: 0 / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.8919, allocations: 11.97 kB / 1.02 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.8919, allocations: 0 / 1.02 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.8919, allocations: 4 kB / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.892, allocations: 0 / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.892, allocations: 0 / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001489/0.8921, allocations: 93.8 kB / 1.02 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.8922, allocations: 89 kB / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.8922, allocations: 0 / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.62e-05/0.8923, allocations: 0 / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.8923, allocations: 3.906 kB / 1.02 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.8923, allocations: 4 kB / 1.02 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001061/0.8924, allocations: 100.7 kB / 1.02 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000264/0.8927, allocations: 12 kB / 1.02 GB, free: 3.023 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 (2): * Single equations (assignments): 2 * 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.0001616/0.8929, allocations: 99.28 kB / 1.02 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.893, allocations: 15.19 kB / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.893, allocations: 0 / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.767e-05/0.8931, allocations: 11.94 kB / 1.02 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.8932, allocations: 7.344 kB / 1.02 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.8937, allocations: 114.1 kB / 1.02 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.8941, allocations: 0.7116 MB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of SimCode: time 1.223e-06/0.8941, allocations: 0 / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of Templates: time 0.003228/0.8973, allocations: 380.8 kB / 1.021 GB, free: 1.664 MB / 0.6355 GB