Running: ./testmodel.py --libraries=/var/lib/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 (/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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [: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.151/2.151, 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.001686/0.001686, allocations: 196.5 kB / 319.6 MB, free: 3.289 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.996/1.996, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001845/0.001845, allocations: 102.6 kB / 0.6746 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.5e-05/1.511e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2014, allocations: 106.3 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6248/0.8263, allocations: 130.9 MB / 1.016 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.8267, allocations: 77.62 kB / 1.016 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001669/0.8284, allocations: 251 kB / 1.016 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.8284, allocations: 0 / 1.016 GB, free: 7.094 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.0003296/0.8287, allocations: 347.1 kB / 1.017 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.8288, allocations: 8.031 kB / 1.017 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.8288, allocations: 4 kB / 1.017 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.829, allocations: 168.7 kB / 1.017 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.829, allocations: 4 kB / 1.017 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.829, allocations: 3.906 kB / 1.017 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.569e-05/0.8291, allocations: 18.75 kB / 1.017 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.8293, allocations: 54.95 kB / 1.017 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.8293, allocations: 3.938 kB / 1.017 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.8293, allocations: 3.984 kB / 1.017 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.8294, allocations: 4 kB / 1.017 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.8298, allocations: 250.7 kB / 1.017 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.074e-05/0.8298, allocations: 18.58 kB / 1.017 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/0.8299, allocations: 4.859 kB / 1.017 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.8299, allocations: 4.062 kB / 1.017 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.8299, allocations: 30.56 kB / 1.017 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.8299, allocations: 0 / 1.017 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002116/0.8301, allocations: 44.89 kB / 1.017 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.8302, allocations: 81.05 kB / 1.017 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.8304, allocations: 112.6 kB / 1.017 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.8304, allocations: 25.7 kB / 1.017 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.332e-05/0.8305, allocations: 102.6 kB / 1.017 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.8305, allocations: 4 kB / 1.017 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.8305, allocations: 0 / 1.017 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.8307, allocations: 314.5 kB / 1.018 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.267e-05/0.8307, allocations: 12.02 kB / 1.018 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.978e-05/0.8308, allocations: 57.69 kB / 1.018 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.826e-05/0.8309, allocations: 23.92 kB / 1.018 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.8309, allocations: 0 / 1.018 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002118/0.8311, allocations: 81.14 kB / 1.018 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.8311, allocations: 4 kB / 1.018 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.8312, allocations: 4 kB / 1.018 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.8312, allocations: 4 kB / 1.018 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.8313, allocations: 16.23 kB / 1.018 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.8313, allocations: 4 kB / 1.018 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.244e-05/0.8314, allocations: 20.64 kB / 1.018 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.8315, allocations: 7.25 kB / 1.018 GB, free: 5.105 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.0001099/0.8316, allocations: 134.6 kB / 1.018 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.8316, allocations: 3.906 kB / 1.018 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.8317, allocations: 11.42 kB / 1.018 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.8317, allocations: 0 / 1.018 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.8317, allocations: 0 / 1.018 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.8317, allocations: 7.984 kB / 1.018 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.8319, allocations: 130.1 kB / 1.018 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8319, allocations: 0.75 kB / 1.018 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.8319, allocations: 0 / 1.018 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.8319, allocations: 3.906 kB / 1.018 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.8319, allocations: 7.984 kB / 1.018 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.832, allocations: 4 kB / 1.018 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.832, allocations: 0 / 1.018 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001644/0.8321, allocations: 138.5 kB / 1.018 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.8322, allocations: 81.11 kB / 1.018 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.8322, allocations: 3.984 kB / 1.019 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.8323, allocations: 0 / 1.019 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.8324, allocations: 0 / 1.019 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.8324, allocations: 4 kB / 1.019 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.627e-05/0.8325, allocations: 87.22 kB / 1.019 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003341/0.8328, allocations: 8 kB / 1.019 GB, free: 4.418 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.0002121/0.833, allocations: 119.3 kB / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.8332, allocations: 48.64 kB / 1.019 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.8332, allocations: 6.375 kB / 1.019 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.273e-05/0.8332, allocations: 33.69 kB / 1.019 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.8334, allocations: 7.469 kB / 1.019 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.8337, allocations: 67.84 kB / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.8341, allocations: 0.6885 MB / 1.02 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/0.8341, allocations: 7.938 kB / 1.02 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of Templates: time 0.003507/0.8376, allocations: 0.4883 MB / 1.02 GB, free: 2.906 MB / 0.6355 GB