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_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.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_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.375/2.375, allocations: 253.1 MB / 260.4 MB, free: 7.543 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.001823/0.001823, allocations: 177.3 kB / 319.6 MB, free: 3.32 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.05/2.05, 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.001399/0.001399, allocations: 98.7 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.508e-06/9.598e-06, allocations: 0 / 0.7843 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2073, allocations: 106.3 MB / 0.8881 GB, free: 12.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7097/0.9171, allocations: 131.4 MB / 1.016 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.9174, allocations: 67.77 kB / 1.016 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003997/0.9214, allocations: 0.8451 MB / 1.017 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.9215, allocations: 0 / 1.017 GB, free: 6.02 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.0004362/0.9219, allocations: 375.5 kB / 1.018 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.922, allocations: 8.031 kB / 1.018 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.922, allocations: 7.906 kB / 1.018 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.9222, allocations: 178.9 kB / 1.018 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.9223, allocations: 8 kB / 1.018 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.9223, allocations: 4 kB / 1.018 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001402/0.9225, allocations: 38.41 kB / 1.018 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.9227, allocations: 81.58 kB / 1.018 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.9227, allocations: 0 / 1.018 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.9227, allocations: 0 / 1.018 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.9227, allocations: 0 / 1.018 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.9234, allocations: 415.9 kB / 1.018 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.37e-05/0.9235, allocations: 44.59 kB / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/0.9236, allocations: 20.11 kB / 1.018 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.9236, allocations: 0 / 1.018 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.9237, allocations: 30.56 kB / 1.018 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/0.9237, allocations: 0 / 1.018 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002112/0.9239, allocations: 49.48 kB / 1.018 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.924, allocations: 81.17 kB / 1.019 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.9242, allocations: 125.2 kB / 1.019 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.9242, allocations: 25.7 kB / 1.019 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.9243, allocations: 114.5 kB / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.668e-06/0.9243, allocations: 3.906 kB / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.9243, allocations: 0.8438 kB / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.9245, allocations: 314.5 kB / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.964e-05/0.9245, allocations: 6.812 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.524e-05/0.9246, allocations: 29.27 kB / 1.019 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/0.9246, allocations: 7.938 kB / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9247, allocations: 0 / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001339/0.9248, allocations: 52.92 kB / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.9248, allocations: 8 kB / 1.019 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.9248, allocations: 0.8125 kB / 1.019 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.9249, allocations: 7.922 kB / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.925, allocations: 11.97 kB / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.925, allocations: 4 kB / 1.019 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.9251, allocations: 3.938 kB / 1.019 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.9251, allocations: 3.469 kB / 1.019 GB, free: 3.879 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.21e-05/0.9252, allocations: 107.4 kB / 1.019 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.9253, allocations: 11.84 kB / 1.019 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.9253, allocations: 17.17 kB / 1.019 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.9253, allocations: 0 / 1.019 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.9253, allocations: 3.984 kB / 1.019 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.9254, allocations: 7.906 kB / 1.019 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.9259, allocations: 449 kB / 1.02 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.9259, allocations: 0 / 1.02 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.926, allocations: 7.938 kB / 1.02 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.926, allocations: 7.984 kB / 1.02 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.926, allocations: 0 / 1.02 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.926, allocations: 0 / 1.02 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.926, allocations: 0 / 1.02 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001281/0.9262, allocations: 86.31 kB / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.62e-05/0.9262, allocations: 89 kB / 1.02 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.9263, allocations: 0 / 1.02 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.558e-05/0.9263, allocations: 0 / 1.02 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.9264, allocations: 7.906 kB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.9264, allocations: 7.656 kB / 1.02 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001028/0.9265, allocations: 104.6 kB / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003093/0.9268, allocations: 8 kB / 1.02 GB, free: 2.922 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.0001603/0.927, allocations: 99.19 kB / 1.02 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.9271, allocations: 18.94 kB / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9271, allocations: 0 / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.292e-05/0.9271, allocations: 4 kB / 1.02 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.9273, allocations: 19.45 kB / 1.02 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/0.9277, allocations: 111.7 kB / 1.02 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/0.9281, allocations: 0.7114 MB / 1.021 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of SimCode: time 8.21e-07/0.9281, allocations: 0 / 1.021 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of Templates: time 0.003086/0.9312, allocations: 371.3 kB / 1.021 GB, free: 1.562 MB / 0.6355 GB