Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 3.98/3.98, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5356/4.515, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/4.741, allocations: 98.72 MB / 0.6283 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2849/5.026, allocations: 123 MB / 0.7484 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000438/5.027, allocations: 83.58 kB / 0.7485 GB, free: 14.6 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.002867/5.03, allocations: 0.5869 MB / 0.749 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/5.03, allocations: 8 kB / 0.7491 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/5.03, allocations: 3.938 kB / 0.7491 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/5.03, allocations: 166.9 kB / 0.7492 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/5.03, allocations: 4 kB / 0.7492 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/5.03, allocations: 4 kB / 0.7492 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000136/5.03, allocations: 23.92 kB / 0.7492 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/5.03, allocations: 57.69 kB / 0.7493 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/5.03, allocations: 0 / 0.7493 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/5.03, allocations: 0 / 0.7493 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/5.03, allocations: 7.984 kB / 0.7493 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/5.031, allocations: 241.3 kB / 0.7495 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.831e-05/5.031, allocations: 22.58 kB / 0.7496 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/5.031, allocations: 4.859 kB / 0.7496 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/5.031, allocations: 4.062 kB / 0.7496 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/5.031, allocations: 42.48 kB / 0.7496 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.996e-06/5.031, allocations: 0 / 0.7496 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002479/5.031, allocations: 33.7 kB / 0.7496 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/5.032, allocations: 77.11 kB / 0.7497 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/5.032, allocations: 116.9 kB / 0.7498 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/5.032, allocations: 25.7 kB / 0.7498 GB, free: 13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/5.032, allocations: 99.8 kB / 0.7499 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/5.032, allocations: 7.984 kB / 0.75 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/5.032, allocations: 0 / 0.75 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001434/5.032, allocations: 318.7 kB / 0.7503 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.836e-05/5.032, allocations: 12 kB / 0.7503 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/5.032, allocations: 62.8 kB / 0.7503 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/5.032, allocations: 15.98 kB / 0.7503 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/5.032, allocations: 0 / 0.7503 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003323/5.033, allocations: 85.55 kB / 0.7504 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/5.033, allocations: 4 kB / 0.7504 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/5.033, allocations: 4 kB / 0.7504 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/5.033, allocations: 8 kB / 0.7504 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/5.033, allocations: 11.94 kB / 0.7505 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/5.033, allocations: 4 kB / 0.7505 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/5.033, allocations: 12.09 kB / 0.7505 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/5.033, allocations: 11.98 kB / 0.7505 GB, free: 12.31 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.0001503/5.033, allocations: 130.7 kB / 0.7506 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/5.034, allocations: 3.906 kB / 0.7506 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/5.034, allocations: 7.469 kB / 0.7506 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/5.034, allocations: 0 / 0.7506 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/5.034, allocations: 0 / 0.7506 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/5.034, allocations: 0 / 0.7506 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/5.034, allocations: 138.1 kB / 0.7507 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/5.034, allocations: 3.938 kB / 0.7507 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-06/5.034, allocations: 0 / 0.7507 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/5.034, allocations: 4 kB / 0.7508 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/5.034, allocations: 4 kB / 0.7508 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/5.034, allocations: 3.938 kB / 0.7508 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/5.034, allocations: 0 / 0.7508 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002173/5.034, allocations: 135.5 kB / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003743/5.035, allocations: 0.5077 MB / 0.7514 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/5.035, allocations: 77.11 kB / 0.7515 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/5.035, allocations: 4 kB / 0.7515 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/5.035, allocations: 0 / 0.7515 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/5.035, allocations: 0 / 0.7515 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/5.035, allocations: 4 kB / 0.7515 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.747e-05/5.035, allocations: 87.27 kB / 0.7515 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001977/5.037, allocations: 19.84 kB / 0.7516 GB, free: 11.09 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.0002819/5.037, allocations: 111.2 kB / 0.7517 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002067/5.038, allocations: 53.62 kB / 0.7517 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/5.038, allocations: 4 kB / 0.7517 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.72e-05/5.038, allocations: 25.7 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/5.038, allocations: 4 kB / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/5.038, allocations: 72.03 kB / 0.7518 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004394/5.039, allocations: 0.6958 MB / 0.7525 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of SimCode: time 1.413e-06/5.039, allocations: 0 / 0.7525 GB, free: 10.06 MB / 0.6355 GB