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.QuinticHermite.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.QuinticHermite,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",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.233/4.233, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5517/4.785, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/5.029, allocations: 98.72 MB / 0.6283 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2499/5.279, allocations: 123.4 MB / 0.7488 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003936/5.279, allocations: 75.59 kB / 0.7489 GB, free: 14.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.006681/5.286, allocations: 1.298 MB / 0.7502 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/5.286, allocations: 8 kB / 0.7502 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/5.286, allocations: 11.91 kB / 0.7502 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/5.286, allocations: 175 kB / 0.7504 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/5.286, allocations: 4 kB / 0.7504 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/5.286, allocations: 4 kB / 0.7504 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001/5.286, allocations: 15.91 kB / 0.7504 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/5.287, allocations: 45.61 kB / 0.7504 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/5.287, allocations: 0 / 0.7504 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/5.287, allocations: 0 / 0.7504 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/5.287, allocations: 4 kB / 0.7504 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/5.287, allocations: 310.5 kB / 0.7507 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/5.287, allocations: 37.7 kB / 0.7508 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.726e-05/5.287, allocations: 12.86 kB / 0.7508 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/5.287, allocations: 4 kB / 0.7508 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/5.287, allocations: 30.56 kB / 0.7508 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 6.272e-06/5.287, allocations: 3.984 kB / 0.7508 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.04549/5.333, allocations: 1.269 MB / 0.752 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/5.333, allocations: 55.41 kB / 0.7521 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/5.333, allocations: 105 kB / 0.7522 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/5.333, allocations: 25.7 kB / 0.7522 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/5.333, allocations: 88.05 kB / 0.7523 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/5.333, allocations: 23.64 kB / 0.7523 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/5.334, allocations: 0 / 0.7523 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002661/5.334, allocations: 322.8 kB / 0.7526 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006963/5.335, allocations: 112 kB / 0.7527 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006865/5.335, allocations: 112 kB / 0.7529 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/5.337, allocations: 179.7 kB / 0.753 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/5.337, allocations: 0 / 0.753 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002468/5.339, allocations: 337.9 kB / 0.7533 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/5.339, allocations: 4 kB / 0.7534 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/5.339, allocations: 0 / 0.7534 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/5.339, allocations: 4 kB / 0.7534 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/5.343, allocations: 79.77 kB / 0.7534 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/5.343, allocations: 0 / 0.7534 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003083/5.346, allocations: 55.95 kB / 0.7535 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/5.346, allocations: 0 / 0.7535 GB, free: 9.246 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 (9): * Single equations (assignments): 9 * 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.0002784/5.346, allocations: 109 kB / 0.7536 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/5.347, allocations: 7.906 kB / 0.7536 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004263/5.347, allocations: 24.38 kB / 0.7536 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/5.347, allocations: 0 / 0.7536 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/5.347, allocations: 0 / 0.7536 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/5.347, allocations: 0 / 0.7536 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/5.36, allocations: 0.8338 MB / 0.7544 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/5.361, allocations: 3.906 kB / 0.7544 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002699/5.363, allocations: 67.94 kB / 0.7545 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/5.363, allocations: 0 / 0.7545 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.927e-05/5.363, allocations: 7.984 kB / 0.7545 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/5.363, allocations: 4.062 kB / 0.7545 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/5.363, allocations: 0 / 0.7545 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002025/5.365, allocations: 352.4 kB / 0.7549 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002951/5.368, allocations: 0.7194 MB / 0.7556 GB, free: 7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-05/5.369, allocations: 81.02 kB / 0.7556 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/5.369, allocations: 0 / 0.7556 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002446/5.371, allocations: 51.95 kB / 0.7557 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/5.371, allocations: 3.984 kB / 0.7557 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/5.371, allocations: 4 kB / 0.7557 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.562e-05/5.372, allocations: 91.28 kB / 0.7558 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001411/5.373, allocations: 103.9 kB / 0.7559 GB, free: 6.652 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0003527/5.373, allocations: 131.2 kB / 0.756 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001789/5.375, allocations: 184.3 kB / 0.7562 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/5.375, allocations: 3.938 kB / 0.7562 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008233/5.376, allocations: 71.92 kB / 0.7562 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/5.376, allocations: 4.609 kB / 0.7563 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006846/5.383, allocations: 353 kB / 0.7566 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/5.385, allocations: 0.7776 MB / 0.7573 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of SimCode: time 1.463e-06/5.385, allocations: 0 / 0.7573 GB, free: 5.074 MB / 0.6355 GB