Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.155/2.155, allocations: 284.9 MB / 292.2 MB, free: 9.914 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 175.5 kB / 360.4 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.2 MB / 0.6188 GB, free: 3.285 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 101.6 kB / 0.7318 GB, free: 1.746 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.166e-05/1.167e-05, allocations: 2.719 kB / 0.8502 GB, free: 147.2 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1853, allocations: 115.3 MB / 0.9628 GB, free: 54.59 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6111/0.7965, allocations: 136.6 MB / 1.096 GB, free: 23.08 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.7968, allocations: 62.38 kB / 1.096 GB, free: 23.08 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003366/0.8001, allocations: 0.8474 MB / 1.097 GB, free: 23.03 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.8002, allocations: 3.875 kB / 1.097 GB, free: 23.03 MB / 0.7136 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.0003221/0.8005, allocations: 362.6 kB / 1.097 GB, free: 38.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.8006, allocations: 12.12 kB / 1.097 GB, free: 38.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.8006, allocations: 11.69 kB / 1.097 GB, free: 38.65 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.8007, allocations: 180.6 kB / 1.098 GB, free: 38.45 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.8008, allocations: 0 / 1.098 GB, free: 38.45 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.8008, allocations: 7.844 kB / 1.098 GB, free: 38.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001242/0.8009, allocations: 34.75 kB / 1.098 GB, free: 38.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.8011, allocations: 84.48 kB / 1.098 GB, free: 38.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.8011, allocations: 0 / 1.098 GB, free: 38.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.8011, allocations: 3.906 kB / 1.098 GB, free: 38.39 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.8012, allocations: 3.875 kB / 1.098 GB, free: 38.39 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.8018, allocations: 418.7 kB / 1.098 GB, free: 38.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.214e-05/0.8018, allocations: 42.78 kB / 1.098 GB, free: 38 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.8019, allocations: 15.16 kB / 1.098 GB, free: 37.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.8019, allocations: 0 / 1.098 GB, free: 37.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.8019, allocations: 32.94 kB / 1.098 GB, free: 37.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.8019, allocations: 0 / 1.098 GB, free: 37.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001776/0.8021, allocations: 47.73 kB / 1.098 GB, free: 37.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.8022, allocations: 84.97 kB / 1.098 GB, free: 37.81 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.8023, allocations: 123.6 kB / 1.098 GB, free: 37.71 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.8023, allocations: 25.7 kB / 1.098 GB, free: 37.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.8024, allocations: 108.3 kB / 1.099 GB, free: 37.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.8024, allocations: 3.906 kB / 1.099 GB, free: 37.58 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.8024, allocations: 0 / 1.099 GB, free: 37.58 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.8026, allocations: 321.7 kB / 1.099 GB, free: 37.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-05/0.8026, allocations: 7 kB / 1.099 GB, free: 37.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.8026, allocations: 21.09 kB / 1.099 GB, free: 37.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.8027, allocations: 9.688 kB / 1.099 GB, free: 37.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8027, allocations: 0.6562 kB / 1.099 GB, free: 37.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001187/0.8028, allocations: 58.8 kB / 1.099 GB, free: 37.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.8029, allocations: 6.406 kB / 1.099 GB, free: 37.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.8029, allocations: 0 / 1.099 GB, free: 37.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.8029, allocations: 224 / 1.099 GB, free: 37.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.374e-05/0.803, allocations: 12.12 kB / 1.099 GB, free: 37.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.803, allocations: 3.938 kB / 1.099 GB, free: 37.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.8031, allocations: 11.75 kB / 1.099 GB, free: 37.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.8031, allocations: 0 / 1.099 GB, free: 37.2 MB / 0.7292 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.011e-05/0.8032, allocations: 113.8 kB / 1.099 GB, free: 37.08 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.8032, allocations: 7.781 kB / 1.099 GB, free: 37.08 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.8033, allocations: 13.36 kB / 1.099 GB, free: 37.08 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8033, allocations: 0 / 1.099 GB, free: 37.08 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.8033, allocations: 0 / 1.099 GB, free: 37.08 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.8033, allocations: 4 kB / 1.099 GB, free: 37.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.8038, allocations: 448.9 kB / 1.1 GB, free: 36.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.8038, allocations: 0 / 1.1 GB, free: 36.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.8039, allocations: 7.688 kB / 1.1 GB, free: 36.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.8039, allocations: 0 / 1.1 GB, free: 36.64 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.8039, allocations: 0 / 1.1 GB, free: 36.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.8039, allocations: 3.703 kB / 1.1 GB, free: 36.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.8039, allocations: 3.938 kB / 1.1 GB, free: 36.64 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001016/0.804, allocations: 89.53 kB / 1.1 GB, free: 36.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.8041, allocations: 86.31 kB / 1.1 GB, free: 36.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.8041, allocations: 3.875 kB / 1.1 GB, free: 36.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.648e-05/0.8042, allocations: 0 / 1.1 GB, free: 36.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.8042, allocations: 6.781 kB / 1.1 GB, free: 36.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.8042, allocations: 0 / 1.1 GB, free: 36.44 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.221e-05/0.8043, allocations: 104.2 kB / 1.1 GB, free: 36.37 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002483/0.8046, allocations: 11.53 kB / 1.1 GB, free: 36.36 MB / 0.7292 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.0001117/0.8047, allocations: 102.6 kB / 1.1 GB, free: 36.27 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.178e-05/0.8048, allocations: 14.34 kB / 1.1 GB, free: 36.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8048, allocations: 3.656 kB / 1.1 GB, free: 36.27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-05/0.8048, allocations: 5.812 kB / 1.1 GB, free: 36.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.805, allocations: 5.812 kB / 1.1 GB, free: 36.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.8053, allocations: 109.2 kB / 1.1 GB, free: 36.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/0.8057, allocations: 0.7064 MB / 1.101 GB, free: 35.47 MB / 0.7292 GB Notification: Performance of SimCode: time 6.92e-07/0.8057, allocations: 7.812 kB / 1.101 GB, free: 35.47 MB / 0.7292 GB Notification: Performance of Templates: time 0.002709/0.8085, allocations: 375.4 kB / 1.101 GB, free: 35.41 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)