Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",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.819/3.819, allocations: 433 MB / 440.3 MB, free: 24.91 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2571/4.076, allocations: 104.3 MB / 0.5319 GB, free: 4.699 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5588/4.635, allocations: 98.68 MB / 0.6283 GB, free: 0.6172 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2231/4.858, allocations: 123.2 MB / 0.7486 GB, free: 5.98 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/4.858, allocations: 71.95 kB / 0.7486 GB, free: 5.91 MB / 0.6121 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.007012/4.865, allocations: 1.393 MB / 0.75 GB, free: 4.48 MB / 0.6121 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/4.865, allocations: 8 kB / 0.75 GB, free: 4.473 MB / 0.6121 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/4.865, allocations: 0 / 0.75 GB, free: 4.473 MB / 0.6121 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/4.865, allocations: 167 kB / 0.7502 GB, free: 4.27 MB / 0.6121 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/4.865, allocations: 0 / 0.7502 GB, free: 4.27 MB / 0.6121 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/4.865, allocations: 3.984 kB / 0.7502 GB, free: 4.266 MB / 0.6121 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.146e-05/4.866, allocations: 16 kB / 0.7502 GB, free: 4.25 MB / 0.6121 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.976e-05/4.866, allocations: 33.69 kB / 0.7502 GB, free: 4.211 MB / 0.6121 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/4.866, allocations: 3.906 kB / 0.7502 GB, free: 4.207 MB / 0.6121 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/4.866, allocations: 8 kB / 0.7502 GB, free: 4.199 MB / 0.6121 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/4.866, allocations: 0 / 0.7502 GB, free: 4.199 MB / 0.6121 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/4.866, allocations: 134.3 kB / 0.7504 GB, free: 4.031 MB / 0.6121 GB Notification: Performance of preOpt comSubExp (simulation): time 6.638e-05/4.866, allocations: 30.5 kB / 0.7504 GB, free: 3.992 MB / 0.6121 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/4.866, allocations: 8.922 kB / 0.7504 GB, free: 3.98 MB / 0.6121 GB Notification: Performance of preOpt evalFunc (simulation): time 4.982e-05/4.866, allocations: 11.97 kB / 0.7504 GB, free: 3.969 MB / 0.6121 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/4.866, allocations: 34.56 kB / 0.7504 GB, free: 3.926 MB / 0.6121 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/4.866, allocations: 0 / 0.7504 GB, free: 3.926 MB / 0.6121 GB Notification: Performance of matching and sorting (n=3): time 0.0008409/4.867, allocations: 302.2 kB / 0.7507 GB, free: 3.578 MB / 0.6121 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/4.867, allocations: 51.41 kB / 0.7508 GB, free: 3.516 MB / 0.6121 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/4.867, allocations: 105 kB / 0.7509 GB, free: 3.406 MB / 0.6121 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/4.867, allocations: 25.7 kB / 0.7509 GB, free: 3.375 MB / 0.6121 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/4.867, allocations: 80.14 kB / 0.751 GB, free: 3.293 MB / 0.6121 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/4.867, allocations: 11.97 kB / 0.751 GB, free: 3.281 MB / 0.6121 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/4.867, allocations: 4 kB / 0.751 GB, free: 3.277 MB / 0.6121 GB Notification: Performance of setup shared object (initialization): time 0.0001181/4.867, allocations: 314.8 kB / 0.7513 GB, free: 2.961 MB / 0.6121 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.297e-05/4.867, allocations: 11.98 kB / 0.7513 GB, free: 2.949 MB / 0.6121 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.018e-05/4.868, allocations: 29.7 kB / 0.7513 GB, free: 2.914 MB / 0.6121 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/4.868, allocations: 19.89 kB / 0.7514 GB, free: 2.895 MB / 0.6121 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/4.868, allocations: 0 / 0.7514 GB, free: 2.895 MB / 0.6121 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002082/4.868, allocations: 77.61 kB / 0.7514 GB, free: 2.812 MB / 0.6121 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/4.868, allocations: 7.984 kB / 0.7514 GB, free: 2.805 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/4.868, allocations: 0 / 0.7514 GB, free: 2.805 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/4.868, allocations: 4 kB / 0.7514 GB, free: 2.801 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/4.868, allocations: 8 kB / 0.7514 GB, free: 2.793 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/4.868, allocations: 3.938 kB / 0.7514 GB, free: 2.789 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/4.868, allocations: 3.906 kB / 0.7515 GB, free: 2.785 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/4.868, allocations: 4 kB / 0.7515 GB, free: 2.781 MB / 0.6121 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.42e-05/4.868, allocations: 101 kB / 0.7516 GB, free: 2.676 MB / 0.6121 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/4.868, allocations: 8 kB / 0.7516 GB, free: 2.668 MB / 0.6121 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/4.869, allocations: 97.78 kB / 0.7517 GB, free: 2.562 MB / 0.6121 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/4.869, allocations: 3.938 kB / 0.7517 GB, free: 2.559 MB / 0.6121 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/4.869, allocations: 192 / 0.7517 GB, free: 2.559 MB / 0.6121 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/4.869, allocations: 4 kB / 0.7517 GB, free: 2.555 MB / 0.6121 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/4.869, allocations: 138.2 kB / 0.7518 GB, free: 2.383 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/4.869, allocations: 0 / 0.7518 GB, free: 2.383 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.878e-05/4.869, allocations: 4 kB / 0.7518 GB, free: 2.379 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/4.869, allocations: 0 / 0.7518 GB, free: 2.379 MB / 0.6121 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/4.869, allocations: 11.98 kB / 0.7518 GB, free: 2.367 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/4.869, allocations: 0 / 0.7518 GB, free: 2.367 MB / 0.6121 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/4.869, allocations: 3.906 kB / 0.7518 GB, free: 2.363 MB / 0.6121 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002823/4.869, allocations: 109.1 kB / 0.7519 GB, free: 2.238 MB / 0.6121 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004487/4.87, allocations: 0.5092 MB / 0.7524 GB, free: 1.707 MB / 0.6121 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/4.87, allocations: 85.08 kB / 0.7525 GB, free: 1.605 MB / 0.6121 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/4.87, allocations: 0 / 0.7525 GB, free: 1.605 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.338e-05/4.87, allocations: 0 / 0.7525 GB, free: 1.605 MB / 0.6121 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/4.87, allocations: 8 kB / 0.7525 GB, free: 1.598 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/4.87, allocations: 4.031 kB / 0.7525 GB, free: 1.594 MB / 0.6121 GB Notification: Performance of sort global known variables: time 5.326e-05/4.87, allocations: 85.47 kB / 0.7526 GB, free: 1.512 MB / 0.6121 GB Notification: Performance of remove unused functions: time 0.001153/4.871, allocations: 27.91 kB / 0.7526 GB, free: 1.484 MB / 0.6121 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002639/4.871, allocations: 123.2 kB / 0.7527 GB, free: 1.355 MB / 0.6121 GB Notification: Performance of simCode: created initialization part: time 0.0001343/4.871, allocations: 35.92 kB / 0.7528 GB, free: 1.32 MB / 0.6121 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/4.871, allocations: 0 / 0.7528 GB, free: 1.32 MB / 0.6121 GB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/4.872, allocations: 19.98 kB / 0.7528 GB, free: 1.301 MB / 0.6121 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/4.872, allocations: 0 / 0.7528 GB, free: 1.301 MB / 0.6121 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/4.872, allocations: 88.67 kB / 0.7529 GB, free: 1.191 MB / 0.6121 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/4.872, allocations: 0.7004 MB / 0.7536 GB, free: 480 kB / 0.6121 GB Notification: Performance of SimCode: time 7.62e-07/4.872, allocations: 0 / 0.7536 GB, free: 480 kB / 0.6121 GB