Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.075/2.075, allocations: 248.6 MB / 255.9 MB, free: 7.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001689/0.001688, allocations: 183.8 kB / 315.1 MB, free: 4.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.1 MB / 0.5658 GB, free: 412 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 99.3 kB / 0.67 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4749/0.4762, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.6882, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.666/1.354, allocations: 130.9 MB / 1.011 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.355, allocations: 78.94 kB / 1.011 GB, free: 9.191 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00198/1.357, allocations: 0.5865 MB / 1.012 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.357, allocations: 12 kB / 1.012 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/1.357, allocations: 0 / 1.012 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.993e-05/1.357, allocations: 164.1 kB / 1.012 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/1.357, allocations: 4 kB / 1.012 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/1.357, allocations: 3.906 kB / 1.012 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000105/1.357, allocations: 27.86 kB / 1.012 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/1.357, allocations: 52.62 kB / 1.012 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.357, allocations: 3.938 kB / 1.012 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/1.357, allocations: 0 / 1.012 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/1.357, allocations: 7.984 kB / 1.012 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/1.358, allocations: 247.5 kB / 1.012 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.982e-05/1.358, allocations: 18.56 kB / 1.013 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/1.358, allocations: 11.55 kB / 1.013 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-06/1.358, allocations: 2.625 kB / 1.013 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/1.358, allocations: 34.5 kB / 1.013 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.863e-06/1.358, allocations: 0 / 1.013 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001992/1.358, allocations: 41.64 kB / 1.013 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/1.358, allocations: 77.11 kB / 1.013 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/1.358, allocations: 112.3 kB / 1.013 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/1.358, allocations: 25.7 kB / 1.013 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/1.358, allocations: 107.1 kB / 1.013 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.164e-06/1.358, allocations: 0 / 1.013 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/1.358, allocations: 0 / 1.013 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.358, allocations: 310.8 kB / 1.013 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.001e-05/1.359, allocations: 15.41 kB / 1.013 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/1.359, allocations: 53.67 kB / 1.013 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.229e-05/1.359, allocations: 26.86 kB / 1.013 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.359, allocations: 0 / 1.013 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002055/1.359, allocations: 81.14 kB / 1.013 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.359, allocations: 11.12 kB / 1.013 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.359, allocations: 0 / 1.013 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/1.359, allocations: 4.25 kB / 1.013 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/1.359, allocations: 12 kB / 1.013 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/1.359, allocations: 7.984 kB / 1.013 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.196e-05/1.359, allocations: 15.83 kB / 1.013 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/1.359, allocations: 4 kB / 1.013 GB, free: 7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001158/1.359, allocations: 138.3 kB / 1.014 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/1.359, allocations: 8.594 kB / 1.014 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/1.359, allocations: 11.42 kB / 1.014 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/1.359, allocations: 0 / 1.014 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.359, allocations: 0 / 1.014 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.36, allocations: 4 kB / 1.014 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/1.36, allocations: 133.2 kB / 1.014 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.36, allocations: 4 kB / 1.014 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/1.36, allocations: 0 / 1.014 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/1.36, allocations: 7.906 kB / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/1.36, allocations: 0 / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/1.36, allocations: 0 / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.36, allocations: 0 / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001623/1.36, allocations: 145.1 kB / 1.014 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002999/1.36, allocations: 0.4995 MB / 1.014 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/1.36, allocations: 81.02 kB / 1.014 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/1.36, allocations: 4 kB / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/1.36, allocations: 0 / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/1.36, allocations: 64 / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/1.36, allocations: 11.98 kB / 1.014 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.024e-05/1.361, allocations: 91.06 kB / 1.015 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00116/1.362, allocations: 8 kB / 1.015 GB, free: 5.781 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002172/1.362, allocations: 107.2 kB / 1.015 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001521/1.362, allocations: 49.2 kB / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.362, allocations: 0 / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.288e-05/1.362, allocations: 37.52 kB / 1.015 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/1.362, allocations: 7.969 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/1.363, allocations: 67.89 kB / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/1.363, allocations: 0.688 MB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of SimCode: time 7.42e-07/1.363, allocations: 4 kB / 1.015 GB, free: 4.762 MB / 0.6355 GB