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.Polynomial.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.Polynomial,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_Polynomial",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 4.131/4.131, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5493/4.68, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/4.912, allocations: 98.73 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2533/5.166, allocations: 123 MB / 0.7484 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004904/5.166, allocations: 79.59 kB / 0.7485 GB, free: 14.55 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002371/5.169, allocations: 478.5 kB / 0.749 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/5.169, allocations: 12 kB / 0.749 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/5.169, allocations: 3.906 kB / 0.749 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/5.169, allocations: 163 kB / 0.7491 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/5.169, allocations: 4 kB / 0.7491 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/5.169, allocations: 0 / 0.7491 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.211e-05/5.169, allocations: 4 kB / 0.7491 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.095e-05/5.169, allocations: 33.69 kB / 0.7492 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/5.169, allocations: 3.938 kB / 0.7492 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/5.169, allocations: 0 / 0.7492 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/5.169, allocations: 3.906 kB / 0.7492 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/5.17, allocations: 130.2 kB / 0.7493 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.473e-05/5.17, allocations: 14.58 kB / 0.7493 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/5.17, allocations: 8.797 kB / 0.7493 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/5.17, allocations: 4.094 kB / 0.7493 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/5.17, allocations: 38.56 kB / 0.7494 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.783e-06/5.17, allocations: 0 / 0.7494 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001815/5.17, allocations: 33.69 kB / 0.7494 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/5.17, allocations: 51.41 kB / 0.7495 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.496e-05/5.17, allocations: 85 kB / 0.7495 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/5.17, allocations: 25.7 kB / 0.7496 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/5.17, allocations: 80.14 kB / 0.7496 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/5.17, allocations: 11.94 kB / 0.7496 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/5.17, allocations: 0 / 0.7496 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001424/5.17, allocations: 314.8 kB / 0.7499 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/5.17, allocations: 0 / 0.7499 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/5.17, allocations: 0 / 0.7499 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.817e-05/5.17, allocations: 7.984 kB / 0.75 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/5.171, allocations: 0 / 0.75 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.82e-05/5.171, allocations: 37.64 kB / 0.75 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/5.171, allocations: 8 kB / 0.75 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/5.171, allocations: 8.078 kB / 0.75 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/5.171, allocations: 0 / 0.75 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.571e-05/5.171, allocations: 0 / 0.75 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/5.171, allocations: 3.906 kB / 0.75 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/5.171, allocations: 4 kB / 0.75 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/5.171, allocations: 0 / 0.75 GB, free: 12.8 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 (1): * Single equations (assignments): 1 * 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.927e-05/5.171, allocations: 105 kB / 0.7501 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/5.171, allocations: 0 / 0.7501 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/5.171, allocations: 44.64 kB / 0.7502 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/5.171, allocations: 0 / 0.7502 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/5.171, allocations: 0 / 0.7502 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/5.171, allocations: 7.891 kB / 0.7502 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/5.171, allocations: 126.2 kB / 0.7503 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/5.171, allocations: 0 / 0.7503 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/5.171, allocations: 4.031 kB / 0.7503 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/5.171, allocations: 0 / 0.7503 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/5.171, allocations: 0 / 0.7503 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/5.171, allocations: 4 kB / 0.7503 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/5.171, allocations: 4 kB / 0.7503 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001182/5.171, allocations: 64.97 kB / 0.7504 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002694/5.172, allocations: 445.5 kB / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-05/5.172, allocations: 81.05 kB / 0.7509 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/5.172, allocations: 3.906 kB / 0.7509 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.767e-05/5.172, allocations: 4 kB / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/5.172, allocations: 0 / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/5.172, allocations: 0 / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.432e-05/5.172, allocations: 75.28 kB / 0.7509 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00106/5.173, allocations: 8 kB / 0.7509 GB, free: 11.74 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): 1 * 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.0002106/5.173, allocations: 115.2 kB / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.288e-05/5.173, allocations: 4 kB / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/5.173, allocations: 0 / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/5.173, allocations: 4 kB / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/5.174, allocations: 0 / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/5.174, allocations: 48.02 kB / 0.7511 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/5.174, allocations: 0.6881 MB / 0.7518 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/5.174, allocations: 0 / 0.7518 GB, free: 10.82 MB / 0.6355 GB