Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") [: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.25/2.25, allocations: 253.1 MB / 260.4 MB, free: 7.574 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.00218/0.00218, allocations: 181.2 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.874/1.874, 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.001308/0.001308, allocations: 90.58 kB / 0.6746 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.121e-05/1.134e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2595, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7351/0.9946, allocations: 131.7 MB / 1.017 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.995, allocations: 71.2 kB / 1.017 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004642/0.9996, allocations: 0.7801 MB / 1.017 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.9997, allocations: 0 / 1.017 GB, free: 5.941 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.0006173/1, allocations: 382 kB / 1.018 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/1, allocations: 8.031 kB / 1.018 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/1, allocations: 7.906 kB / 1.018 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/1.001, allocations: 170.9 kB / 1.018 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/1.001, allocations: 0 / 1.018 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/1.001, allocations: 4 kB / 1.018 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001512/1.001, allocations: 30.11 kB / 1.018 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/1.001, allocations: 60.48 kB / 1.018 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/1.001, allocations: 0.8438 kB / 1.018 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/1.001, allocations: 0 / 1.018 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.001, allocations: 4.75 kB / 1.018 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007737/1.002, allocations: 306.4 kB / 1.018 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/1.002, allocations: 45.56 kB / 1.018 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.176e-05/1.002, allocations: 24.5 kB / 1.018 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/1.002, allocations: 109 kB / 1.019 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/1.002, allocations: 38.48 kB / 1.019 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.436e-06/1.002, allocations: 0 / 1.019 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003492/1.003, allocations: 78.36 kB / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/1.003, allocations: 55.31 kB / 1.019 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/1.003, allocations: 116 kB / 1.019 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/1.003, allocations: 25.7 kB / 1.019 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/1.003, allocations: 92.06 kB / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/1.003, allocations: 3.906 kB / 1.019 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/1.003, allocations: 0 / 1.019 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.003, allocations: 318.7 kB / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.736e-05/1.003, allocations: 14.98 kB / 1.019 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.164e-05/1.003, allocations: 15 kB / 1.019 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/1.004, allocations: 27.34 kB / 1.019 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.004, allocations: 4 kB / 1.019 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002581/1.004, allocations: 83.5 kB / 1.019 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.004, allocations: 4 kB / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.004, allocations: 0 / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/1.004, allocations: 0 / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/1.004, allocations: 24.7 kB / 1.019 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/1.004, allocations: 8 kB / 1.019 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/1.004, allocations: 19.97 kB / 1.019 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/1.004, allocations: 3.312 kB / 1.019 GB, free: 3.789 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 8.654e-05/1.004, allocations: 109 kB / 1.02 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/1.004, allocations: 3.906 kB / 1.02 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/1.005, allocations: 99.25 kB / 1.02 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/1.005, allocations: 4 kB / 1.02 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.005, allocations: 7.938 kB / 1.02 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.005, allocations: 0 / 1.02 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/1.005, allocations: 156.9 kB / 1.02 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.005, allocations: 0 / 1.02 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/1.005, allocations: 23.98 kB / 1.02 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.005, allocations: 0 / 1.02 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/1.005, allocations: 4 kB / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/1.005, allocations: 0 / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.005, allocations: 3.984 kB / 1.02 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002954/1.006, allocations: 172.1 kB / 1.02 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/1.006, allocations: 88.94 kB / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/1.006, allocations: 4 kB / 1.02 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/1.006, allocations: 16.27 kB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/1.006, allocations: 3.984 kB / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/1.006, allocations: 11.44 kB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.369e-05/1.006, allocations: 92.66 kB / 1.02 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000306/1.007, allocations: 15.91 kB / 1.02 GB, free: 2.945 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.0001697/1.007, allocations: 107.2 kB / 1.02 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000146/1.007, allocations: 37.92 kB / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/1.007, allocations: 0 / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.489e-05/1.007, allocations: 19.61 kB / 1.02 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/1.007, allocations: 13.75 kB / 1.02 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/1.008, allocations: 94.92 kB / 1.021 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004244/1.008, allocations: 0.7032 MB / 1.021 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of SimCode: time 6.92e-07/1.008, allocations: 0 / 1.021 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of Templates: time 0.003743/1.012, allocations: 0.7374 MB / 1.022 GB, free: 1.223 MB / 0.6355 GB