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_gal.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_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [: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.513/2.513, allocations: 253.1 MB / 260.4 MB, free: 7.461 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.001758/0.001758, allocations: 184.9 kB / 319.6 MB, free: 3.324 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.185/2.185, allocations: 205.4 MB / 0.5704 GB, free: 14.96 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.001354/0.001354, allocations: 103.1 kB / 0.6746 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.218e-05/1.231e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2377, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7472/0.9849, allocations: 131.4 MB / 1.016 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.01332/0.9983, allocations: 67.44 kB / 1.016 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005124/1.004, allocations: 0.8364 MB / 1.017 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.698e-06/1.004, allocations: 0 / 1.017 GB, free: 6.164 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.000504/1.004, allocations: 366.5 kB / 1.018 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/1.004, allocations: 16.03 kB / 1.018 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/1.004, allocations: 8.781 kB / 1.018 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/1.004, allocations: 190.3 kB / 1.018 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/1.005, allocations: 0 / 1.018 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/1.005, allocations: 4 kB / 1.018 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001912/1.005, allocations: 34.16 kB / 1.018 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/1.005, allocations: 79.03 kB / 1.018 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/1.005, allocations: 0 / 1.018 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/1.005, allocations: 4 kB / 1.018 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/1.005, allocations: 4 kB / 1.018 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009868/1.006, allocations: 419.6 kB / 1.018 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.631e-05/1.006, allocations: 36.72 kB / 1.018 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.389e-05/1.006, allocations: 17.28 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/1.006, allocations: 2.625 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/1.006, allocations: 34.59 kB / 1.018 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.615e-06/1.006, allocations: 4 kB / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000293/1.007, allocations: 49.28 kB / 1.019 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/1.007, allocations: 77.11 kB / 1.019 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/1.007, allocations: 124 kB / 1.019 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/1.007, allocations: 25.7 kB / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/1.007, allocations: 105.9 kB / 1.019 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/1.007, allocations: 7.906 kB / 1.019 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/1.007, allocations: 3.938 kB / 1.019 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001851/1.008, allocations: 322.1 kB / 1.019 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/1.008, allocations: 7.312 kB / 1.019 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.305e-05/1.008, allocations: 16.72 kB / 1.019 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.322e-05/1.008, allocations: 11.38 kB / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.008, allocations: 3.938 kB / 1.019 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002263/1.008, allocations: 54.78 kB / 1.019 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/1.008, allocations: 10.25 kB / 1.019 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.008, allocations: 0 / 1.019 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/1.008, allocations: 7.906 kB / 1.019 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/1.008, allocations: 11.94 kB / 1.019 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/1.008, allocations: 3.984 kB / 1.019 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.523e-05/1.008, allocations: 7.938 kB / 1.019 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/1.009, allocations: 0 / 1.019 GB, free: 4.016 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 0.000114/1.009, allocations: 103.4 kB / 1.019 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/1.009, allocations: 14.67 kB / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/1.009, allocations: 18.55 kB / 1.019 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/1.009, allocations: 3.938 kB / 1.019 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.009, allocations: 3.906 kB / 1.019 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.009, allocations: 0 / 1.019 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02052/1.029, allocations: 445.1 kB / 1.02 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.03, allocations: 3.906 kB / 1.02 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-05/1.03, allocations: 4 kB / 1.02 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/1.03, allocations: 4.062 kB / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/1.03, allocations: 4 kB / 1.02 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.03, allocations: 0 / 1.02 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.03, allocations: 0 / 1.02 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001452/1.03, allocations: 90.11 kB / 1.02 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/1.03, allocations: 89.09 kB / 1.02 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/1.03, allocations: 8.016 kB / 1.02 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/1.03, allocations: 0 / 1.02 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/1.03, allocations: 6.406 kB / 1.02 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/1.03, allocations: 4 kB / 1.02 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001545/1.03, allocations: 97.47 kB / 1.02 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002789/1.03, allocations: 12 kB / 1.02 GB, free: 3.062 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.0001528/1.031, allocations: 99.23 kB / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000107/1.031, allocations: 15.88 kB / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.031, allocations: 0 / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.436e-05/1.031, allocations: 7.938 kB / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/1.031, allocations: 11.09 kB / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/1.031, allocations: 114 kB / 1.02 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/1.032, allocations: 0.7116 MB / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/1.032, allocations: 0 / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of Templates: time 0.003604/1.035, allocations: 378.3 kB / 1.021 GB, free: 1.699 MB / 0.6355 GB