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_BtuPerHour.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_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [: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.389/2.389, allocations: 253.1 MB / 260.4 MB, free: 7.516 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.002315/0.002315, allocations: 181.2 kB / 319.6 MB, free: 3.301 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.069/2.069, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001731/0.00173, allocations: 84.91 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.515e-05/1.533e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2594, allocations: 106.2 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7714/1.031, allocations: 131.4 MB / 1.016 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/1.031, allocations: 70.52 kB / 1.016 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004057/1.035, allocations: 0.8423 MB / 1.017 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.759e-06/1.035, allocations: 5.031 kB / 1.017 GB, free: 5.918 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.0004289/1.036, allocations: 369.4 kB / 1.018 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.036, allocations: 8.031 kB / 1.018 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/1.036, allocations: 11.28 kB / 1.018 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/1.036, allocations: 178.9 kB / 1.018 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/1.036, allocations: 3.938 kB / 1.018 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/1.036, allocations: 8 kB / 1.018 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001437/1.036, allocations: 34.45 kB / 1.018 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/1.036, allocations: 82.16 kB / 1.018 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.037, allocations: 4 kB / 1.018 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/1.037, allocations: 0 / 1.018 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/1.037, allocations: 3.938 kB / 1.018 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007117/1.037, allocations: 420.4 kB / 1.018 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.06e-05/1.037, allocations: 36.72 kB / 1.018 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/1.037, allocations: 17.28 kB / 1.018 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/1.037, allocations: 2.625 kB / 1.018 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/1.037, allocations: 38.59 kB / 1.018 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/1.037, allocations: 0 / 1.018 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002138/1.038, allocations: 49.22 kB / 1.019 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/1.038, allocations: 77.11 kB / 1.019 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/1.038, allocations: 123.6 kB / 1.019 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/1.038, allocations: 25.7 kB / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/1.038, allocations: 107.7 kB / 1.019 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.769e-06/1.038, allocations: 11.41 kB / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/1.038, allocations: 0 / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.038, allocations: 318.3 kB / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/1.038, allocations: 7.938 kB / 1.019 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.065e-05/1.038, allocations: 21.34 kB / 1.019 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.876e-05/1.038, allocations: 7.375 kB / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.038, allocations: 4 kB / 1.019 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001364/1.039, allocations: 56.34 kB / 1.019 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.039, allocations: 6.5 kB / 1.019 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/1.039, allocations: 4 kB / 1.019 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.039, allocations: 0 / 1.019 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/1.039, allocations: 11.84 kB / 1.019 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.039, allocations: 0 / 1.019 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.311e-05/1.039, allocations: 7.938 kB / 1.019 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/1.039, allocations: 0 / 1.019 GB, free: 3.773 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.018e-05/1.039, allocations: 107.5 kB / 1.019 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/1.039, allocations: 12.2 kB / 1.019 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/1.039, allocations: 19.03 kB / 1.019 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.039, allocations: 3.938 kB / 1.019 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.039, allocations: 0 / 1.019 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/1.039, allocations: 3.906 kB / 1.019 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/1.04, allocations: 444.9 kB / 1.02 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/1.04, allocations: 8.062 kB / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.304e-05/1.04, allocations: 6.906 kB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/1.04, allocations: 4 kB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/1.04, allocations: 0 / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.04, allocations: 0 / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.04, allocations: 0 / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001278/1.04, allocations: 92.61 kB / 1.02 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/1.04, allocations: 88.95 kB / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/1.04, allocations: 3.938 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/1.04, allocations: 0 / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/1.04, allocations: 11.89 kB / 1.02 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/1.04, allocations: 0 / 1.02 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.293e-05/1.04, allocations: 101.8 kB / 1.02 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000258/1.04, allocations: 8 kB / 1.02 GB, free: 2.816 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.0001373/1.041, allocations: 99.28 kB / 1.02 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001109/1.041, allocations: 19.67 kB / 1.02 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.041, allocations: 0 / 1.02 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-05/1.041, allocations: 11.44 kB / 1.02 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/1.041, allocations: 3.906 kB / 1.02 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/1.041, allocations: 115.3 kB / 1.02 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003779/1.042, allocations: 0.7116 MB / 1.021 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of SimCode: time 6.31e-07/1.042, allocations: 0 / 1.021 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of Templates: time 0.003115/1.045, allocations: 385.9 kB / 1.021 GB, free: 1.445 MB / 0.6355 GB