Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Biquadratic.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.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Biquadratic") [: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.077/2.077, allocations: 253.1 MB / 260.4 MB, free: 7.523 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.001665/0.001665, allocations: 189 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 1.831/1.831, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.001254/0.001254, allocations: 87.03 kB / 0.6746 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.349e-05/1.365e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2217, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6314/0.8532, allocations: 131.7 MB / 1.017 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.8535, allocations: 69.95 kB / 1.017 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004759/0.8583, allocations: 0.7803 MB / 1.017 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.8584, allocations: 0 / 1.017 GB, free: 5.969 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006354/0.859, allocations: 381.6 kB / 1.018 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.8591, allocations: 8.031 kB / 1.018 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.8591, allocations: 8.656 kB / 1.018 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.8593, allocations: 181.8 kB / 1.018 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.8593, allocations: 0 / 1.018 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.8593, allocations: 4 kB / 1.018 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001508/0.8595, allocations: 30.05 kB / 1.018 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.8597, allocations: 45.44 kB / 1.018 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.8597, allocations: 0 / 1.018 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.8597, allocations: 4 kB / 1.018 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.8597, allocations: 7.938 kB / 1.018 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000762/0.8605, allocations: 313.6 kB / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.8606, allocations: 41.94 kB / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.659e-05/0.8607, allocations: 24.17 kB / 1.018 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/0.861, allocations: 113.1 kB / 1.019 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.861, allocations: 30.56 kB / 1.019 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.861, allocations: 2.625 kB / 1.019 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003538/0.8614, allocations: 76.39 kB / 1.019 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.8614, allocations: 55.34 kB / 1.019 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.8616, allocations: 118.9 kB / 1.019 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.8616, allocations: 25.7 kB / 1.019 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.8617, allocations: 88.12 kB / 1.019 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.8617, allocations: 7.781 kB / 1.019 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.8617, allocations: 0 / 1.019 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8619, allocations: 318.5 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.8619, allocations: 15.73 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.273e-05/0.862, allocations: 10.5 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.8621, allocations: 30.84 kB / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.8622, allocations: 7.906 kB / 1.019 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000256/0.8624, allocations: 74.59 kB / 1.019 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.8625, allocations: 4 kB / 1.019 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.8625, allocations: 3.984 kB / 1.019 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.8625, allocations: 3.906 kB / 1.019 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.8628, allocations: 23.98 kB / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.8628, allocations: 0 / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.863, allocations: 26.92 kB / 1.019 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.863, allocations: 0 / 1.019 GB, free: 3.816 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.791e-05/0.8631, allocations: 105 kB / 1.02 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.8632, allocations: 12.08 kB / 1.02 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.8635, allocations: 90.83 kB / 1.02 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.8635, allocations: 3.938 kB / 1.02 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.8635, allocations: 4 kB / 1.02 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8635, allocations: 0 / 1.02 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.8638, allocations: 159.7 kB / 1.02 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.8638, allocations: 0 / 1.02 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.864, allocations: 30.91 kB / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.864, allocations: 0 / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.864, allocations: 0 / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.864, allocations: 4 kB / 1.02 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8641, allocations: 0 / 1.02 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003478/0.8644, allocations: 178.9 kB / 1.02 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.8645, allocations: 81.02 kB / 1.02 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.8645, allocations: 7.938 kB / 1.02 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.8647, allocations: 15.98 kB / 1.02 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.8648, allocations: 7.984 kB / 1.02 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.8648, allocations: 4 kB / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.198e-05/0.8649, allocations: 101.7 kB / 1.02 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000313/0.8652, allocations: 11.94 kB / 1.02 GB, free: 2.973 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001714/0.8654, allocations: 99.25 kB / 1.02 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.8656, allocations: 33.11 kB / 1.02 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8656, allocations: 0 / 1.02 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.15e-05/0.8657, allocations: 21.56 kB / 1.02 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.8659, allocations: 11.75 kB / 1.02 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.8663, allocations: 95.05 kB / 1.021 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.8667, allocations: 0.6993 MB / 1.021 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.8667, allocations: 0 / 1.021 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of Templates: time 0.003832/0.8705, allocations: 0.7386 MB / 1.022 GB, free: 1.266 MB / 0.6355 GB