Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_Polynominal",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.085/4.085, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5258/4.611, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/4.839, allocations: 98.73 MB / 0.6283 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2923/5.132, allocations: 123.7 MB / 0.749 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/5.132, allocations: 75.61 kB / 0.7491 GB, free: 13.88 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004019/5.136, allocations: 0.8234 MB / 0.7499 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/5.136, allocations: 12 kB / 0.7499 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/5.136, allocations: 0 / 0.7499 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/5.137, allocations: 167 kB / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/5.137, allocations: 0 / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/5.137, allocations: 0 / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001177/5.137, allocations: 16 kB / 0.7501 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/5.137, allocations: 41.62 kB / 0.7502 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/5.137, allocations: 0 / 0.7502 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/5.137, allocations: 0 / 0.7502 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/5.137, allocations: 0 / 0.7502 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/5.138, allocations: 253.4 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.356e-05/5.138, allocations: 34.56 kB / 0.7504 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/5.138, allocations: 16.92 kB / 0.7504 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.786e-05/5.138, allocations: 0 / 0.7504 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/5.138, allocations: 34.56 kB / 0.7505 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/5.138, allocations: 0 / 0.7505 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002653/5.138, allocations: 53.53 kB / 0.7505 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/5.138, allocations: 51.41 kB / 0.7506 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/5.138, allocations: 97 kB / 0.7507 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/5.138, allocations: 29.73 kB / 0.7507 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/5.138, allocations: 84.12 kB / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/5.138, allocations: 7.906 kB / 0.7508 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/5.138, allocations: 3.938 kB / 0.7508 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000149/5.139, allocations: 314.8 kB / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.297e-05/5.139, allocations: 8 kB / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.8e-05/5.139, allocations: 4 kB / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.165e-05/5.139, allocations: 15.92 kB / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/5.139, allocations: 64 / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000203/5.139, allocations: 53.59 kB / 0.7512 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/5.139, allocations: 4 kB / 0.7512 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/5.139, allocations: 4 kB / 0.7512 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/5.139, allocations: 3.938 kB / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/5.139, allocations: 11.98 kB / 0.7512 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/5.139, allocations: 0 / 0.7512 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/5.14, allocations: 12.03 kB / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/5.14, allocations: 0 / 0.7512 GB, free: 11.55 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 (2): * Single equations (assignments): 2 * 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 0.0001412/5.14, allocations: 104.9 kB / 0.7513 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/5.14, allocations: 7.906 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/5.14, allocations: 53.55 kB / 0.7514 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/5.14, allocations: 8 kB / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/5.14, allocations: 4.031 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/5.14, allocations: 0 / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/5.141, allocations: 142.1 kB / 0.7515 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/5.141, allocations: 0 / 0.7515 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/5.141, allocations: 12 kB / 0.7515 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/5.141, allocations: 0 / 0.7515 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/5.141, allocations: 3.984 kB / 0.7515 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/5.141, allocations: 3.938 kB / 0.7515 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/5.141, allocations: 0 / 0.7515 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003175/5.141, allocations: 151.5 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005108/5.142, allocations: 0.5077 MB / 0.7522 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.193e-05/5.142, allocations: 81.11 kB / 0.7522 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/5.142, allocations: 4.062 kB / 0.7522 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/5.142, allocations: 11.98 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/5.142, allocations: 0 / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/5.143, allocations: 3.906 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.455e-05/5.143, allocations: 87.22 kB / 0.7523 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002783/5.145, allocations: 15.92 kB / 0.7524 GB, free: 10.26 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 (2): * Single equations (assignments): 2 * 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.0003792/5.146, allocations: 115.2 kB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002026/5.146, allocations: 12 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/5.146, allocations: 0 / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.862e-05/5.146, allocations: 12 kB / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/5.147, allocations: 3.125 kB / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/5.147, allocations: 75.7 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006211/5.148, allocations: 0.6958 MB / 0.7532 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of SimCode: time 1.704e-06/5.148, allocations: 4 kB / 0.7533 GB, free: 9.289 MB / 0.6355 GB