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_quad.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_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [: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.253/2.253, allocations: 253.1 MB / 260.4 MB, free: 7.508 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.001618/0.001617, allocations: 180.5 kB / 319.6 MB, free: 3.305 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.037/2.037, 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.001294/0.001294, allocations: 86.33 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.053e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2198, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7547/0.9745, allocations: 131.5 MB / 1.016 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.9749, allocations: 63.03 kB / 1.016 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004034/0.9789, allocations: 0.8503 MB / 1.017 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.979, allocations: 0 / 1.017 GB, free: 5.844 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.0004385/0.9794, allocations: 372.2 kB / 1.018 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.9795, allocations: 8.031 kB / 1.018 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.9795, allocations: 8.781 kB / 1.018 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.9798, allocations: 178.9 kB / 1.018 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.9798, allocations: 4.844 kB / 1.018 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.9798, allocations: 4 kB / 1.018 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001443/0.98, allocations: 41.09 kB / 1.018 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.9802, allocations: 76 kB / 1.018 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.9802, allocations: 3.984 kB / 1.018 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.9802, allocations: 4 kB / 1.018 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.9802, allocations: 0 / 1.018 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007454/0.981, allocations: 422.2 kB / 1.018 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.914e-05/0.9811, allocations: 36.53 kB / 1.018 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.9811, allocations: 17.72 kB / 1.018 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.9812, allocations: 2.625 kB / 1.018 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.9812, allocations: 45.64 kB / 1.018 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 5.56e-06/0.9812, allocations: 3.984 kB / 1.018 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002121/0.9814, allocations: 45.36 kB / 1.019 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.9815, allocations: 77.11 kB / 1.019 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.9817, allocations: 124.1 kB / 1.019 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.9817, allocations: 25.7 kB / 1.019 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.9818, allocations: 107.2 kB / 1.019 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.9818, allocations: 7.656 kB / 1.019 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.9818, allocations: 4.062 kB / 1.019 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.982, allocations: 314.8 kB / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/0.9821, allocations: 7.812 kB / 1.019 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.386e-05/0.9821, allocations: 24.97 kB / 1.019 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.819e-05/0.9822, allocations: 6.812 kB / 1.019 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9822, allocations: 0 / 1.019 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001362/0.9823, allocations: 56.22 kB / 1.019 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.9824, allocations: 10.19 kB / 1.019 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.9824, allocations: 4 kB / 1.019 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.9824, allocations: 0 / 1.019 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.9825, allocations: 11.91 kB / 1.019 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.9825, allocations: 3.938 kB / 1.019 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.9826, allocations: 7.938 kB / 1.019 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.9826, allocations: 0 / 1.019 GB, free: 3.695 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.257e-05/0.9827, allocations: 107.4 kB / 1.019 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.9828, allocations: 8.125 kB / 1.019 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.754e-05/0.9829, allocations: 18.3 kB / 1.019 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.9829, allocations: 3.938 kB / 1.019 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9829, allocations: 0 / 1.019 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.9829, allocations: 3.906 kB / 1.019 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005372/0.9835, allocations: 445.5 kB / 1.02 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.9835, allocations: 4 kB / 1.02 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.9835, allocations: 3.906 kB / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.9836, allocations: 8.062 kB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.9836, allocations: 0 / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.9836, allocations: 0 / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.9836, allocations: 0 / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001299/0.9837, allocations: 86.42 kB / 1.02 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.9838, allocations: 92.53 kB / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.9838, allocations: 4 kB / 1.02 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.824e-05/0.9839, allocations: 0 / 1.02 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.9839, allocations: 11.84 kB / 1.02 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.9839, allocations: 3.938 kB / 1.02 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.576e-05/0.984, allocations: 105 kB / 1.02 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002606/0.9843, allocations: 8 kB / 1.02 GB, free: 2.738 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.0001477/0.9845, allocations: 95.25 kB / 1.02 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.9846, allocations: 19.12 kB / 1.02 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9846, allocations: 0 / 1.02 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.64e-05/0.9846, allocations: 11.19 kB / 1.02 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.9848, allocations: 3.906 kB / 1.02 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.9852, allocations: 114.9 kB / 1.02 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/0.9855, allocations: 0.7116 MB / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of SimCode: time 6.52e-07/0.9856, allocations: 0 / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of Templates: time 0.002982/0.9885, allocations: 375.8 kB / 1.021 GB, free: 1.383 MB / 0.6355 GB