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_degC.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_degC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [: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.511/2.511, allocations: 253.1 MB / 260.4 MB, free: 7.535 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.001624/0.001623, allocations: 185.2 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.175/2.175, allocations: 205.4 MB / 0.5704 GB, free: 15.12 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.001424/0.001424, allocations: 88.69 kB / 0.6746 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.002e-05/1.017e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2164, allocations: 106.3 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7239/0.9403, allocations: 131.4 MB / 1.016 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.9406, allocations: 62.09 kB / 1.016 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004236/0.9449, allocations: 0.9075 MB / 1.017 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.945, allocations: 0 / 1.017 GB, free: 6.129 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.0005176/0.9455, allocations: 372.7 kB / 1.018 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.9456, allocations: 12.03 kB / 1.018 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.9456, allocations: 15.06 kB / 1.018 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.9459, allocations: 183.7 kB / 1.018 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.9459, allocations: 4 kB / 1.018 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.9459, allocations: 8 kB / 1.018 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001488/0.9461, allocations: 37.3 kB / 1.018 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.9463, allocations: 81.66 kB / 1.018 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.9463, allocations: 0 / 1.018 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.9463, allocations: 3.906 kB / 1.018 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.9463, allocations: 4 kB / 1.018 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008517/0.9472, allocations: 423.5 kB / 1.018 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.215e-05/0.9473, allocations: 47.42 kB / 1.018 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.9474, allocations: 21.78 kB / 1.019 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.9474, allocations: 0 / 1.019 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.9474, allocations: 30.56 kB / 1.019 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.944e-06/0.9474, allocations: 4 kB / 1.019 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002314/0.9477, allocations: 40.86 kB / 1.019 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.9478, allocations: 81.05 kB / 1.019 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.948, allocations: 138.9 kB / 1.019 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.948, allocations: 25.7 kB / 1.019 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.182e-05/0.9481, allocations: 118 kB / 1.019 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.947e-06/0.9481, allocations: 3.906 kB / 1.019 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-06/0.9481, allocations: 4 kB / 1.019 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.9483, allocations: 314.1 kB / 1.019 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.383e-05/0.9483, allocations: 6.938 kB / 1.019 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.793e-05/0.9484, allocations: 25.64 kB / 1.019 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.17e-05/0.9485, allocations: 11.88 kB / 1.019 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9485, allocations: 0 / 1.019 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001628/0.9486, allocations: 56.92 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.9487, allocations: 11.98 kB / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.9487, allocations: 0 / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.9487, allocations: 0 / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.9489, allocations: 4 kB / 1.019 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.9489, allocations: 4 kB / 1.019 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.949, allocations: 7.969 kB / 1.019 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.949, allocations: 224 / 1.019 GB, free: 3.949 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.0001074/0.9491, allocations: 107.4 kB / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.9492, allocations: 7.844 kB / 1.019 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.9493, allocations: 18.84 kB / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.9493, allocations: 0 / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.056e-06/0.9493, allocations: 4 kB / 1.019 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.9493, allocations: 0 / 1.019 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/0.95, allocations: 455.4 kB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.95, allocations: 0 / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.163e-05/0.95, allocations: 4 kB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.9501, allocations: 0 / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.9501, allocations: 7.312 kB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.9501, allocations: 3.906 kB / 1.02 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.9501, allocations: 0 / 1.02 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001433/0.9503, allocations: 96.05 kB / 1.02 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/0.9504, allocations: 92.94 kB / 1.02 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.9504, allocations: 0 / 1.02 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.061e-05/0.9504, allocations: 0 / 1.02 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.9505, allocations: 15.22 kB / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.9505, allocations: 0 / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001162/0.9506, allocations: 117.9 kB / 1.02 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000278/0.9509, allocations: 8 kB / 1.02 GB, free: 2.984 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.0001475/0.951, allocations: 95.25 kB / 1.02 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.9512, allocations: 19.5 kB / 1.02 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.9512, allocations: 0 / 1.02 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.206e-05/0.9512, allocations: 7.062 kB / 1.02 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.9514, allocations: 10.66 kB / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.9518, allocations: 116 kB / 1.02 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/0.9522, allocations: 0.711 MB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.9522, allocations: 3.938 kB / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of Templates: time 0.003181/0.9554, allocations: 404.4 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB