Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_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.356/2.356, allocations: 253.1 MB / 260.4 MB, free: 7.469 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.002369/0.002368, allocations: 193 kB / 319.6 MB, free: 3.312 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.103/2.103, allocations: 205.4 MB / 0.5704 GB, free: 15.14 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.001322/0.001321, allocations: 96.5 kB / 0.6746 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.356e-05/1.37e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2346, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6602/0.8949, allocations: 131.4 MB / 1.016 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.8952, allocations: 68.44 kB / 1.016 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004007/0.8993, allocations: 0.8401 MB / 1.017 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.8993, allocations: 4 kB / 1.017 GB, free: 6.176 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.0004256/0.8998, allocations: 370.9 kB / 1.018 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.8998, allocations: 8.031 kB / 1.018 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.8999, allocations: 11.91 kB / 1.018 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.9001, allocations: 178.8 kB / 1.018 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.9001, allocations: 4 kB / 1.018 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.9002, allocations: 4 kB / 1.018 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001422/0.9003, allocations: 40.12 kB / 1.018 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.9005, allocations: 84.02 kB / 1.018 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.9005, allocations: 0.875 kB / 1.018 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.9006, allocations: 3.938 kB / 1.018 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.9006, allocations: 4 kB / 1.018 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007512/0.9013, allocations: 415.5 kB / 1.018 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.2e-05/0.9014, allocations: 32.66 kB / 1.018 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.9015, allocations: 24.39 kB / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.9015, allocations: 0 / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.9016, allocations: 38.5 kB / 1.018 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.9016, allocations: 0 / 1.018 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002141/0.9018, allocations: 41.17 kB / 1.018 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.9019, allocations: 85.05 kB / 1.019 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.902, allocations: 131.2 kB / 1.019 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.9021, allocations: 25.7 kB / 1.019 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.9022, allocations: 107.2 kB / 1.019 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.267e-06/0.9022, allocations: 3.906 kB / 1.019 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.9022, allocations: 0 / 1.019 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.9023, allocations: 318 kB / 1.019 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/0.9024, allocations: 6.875 kB / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.047e-05/0.9024, allocations: 20.77 kB / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.944e-05/0.9025, allocations: 11.38 kB / 1.019 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.9025, allocations: 4 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001412/0.9026, allocations: 56.67 kB / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.9027, allocations: 6.188 kB / 1.019 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.9027, allocations: 0 / 1.019 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.9027, allocations: 0 / 1.019 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.9028, allocations: 16.58 kB / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.9029, allocations: 0 / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.153e-05/0.9029, allocations: 8 kB / 1.019 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.9029, allocations: 4.219 kB / 1.019 GB, free: 4.031 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 9.423e-05/0.903, allocations: 103.4 kB / 1.019 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.277e-05/0.9031, allocations: 11.84 kB / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.9032, allocations: 10.92 kB / 1.019 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.9032, allocations: 12.08 kB / 1.019 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.9032, allocations: 0 / 1.019 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.9032, allocations: 7.891 kB / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.9038, allocations: 446.7 kB / 1.02 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.9038, allocations: 0 / 1.02 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.9038, allocations: 11.89 kB / 1.02 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.9039, allocations: 0 / 1.02 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.9039, allocations: 0 / 1.02 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.9039, allocations: 4 kB / 1.02 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.9039, allocations: 0 / 1.02 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001284/0.904, allocations: 89.94 kB / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.9041, allocations: 85 kB / 1.02 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.9041, allocations: 4 kB / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.599e-05/0.9042, allocations: 0 / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.9042, allocations: 6.844 kB / 1.02 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.9042, allocations: 0 / 1.02 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001513/0.9044, allocations: 107.3 kB / 1.02 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002876/0.9047, allocations: 11.94 kB / 1.02 GB, free: 3.074 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.0001638/0.9049, allocations: 95.25 kB / 1.02 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.905, allocations: 22.12 kB / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.905, allocations: 0 / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.188e-05/0.905, allocations: 4 kB / 1.02 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.9052, allocations: 11.78 kB / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.9056, allocations: 112.1 kB / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/0.906, allocations: 0.7114 MB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/0.906, allocations: 0 / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of Templates: time 0.003252/0.9093, allocations: 381 kB / 1.021 GB, free: 1.711 MB / 0.6355 GB