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.SpliceFunction.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.SpliceFunction,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",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.244/4.244, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5054/4.749, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/5, allocations: 98.73 MB / 0.6283 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2509/5.251, allocations: 123.9 MB / 0.7493 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/5.251, allocations: 83.58 kB / 0.7494 GB, free: 13.56 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.005977/5.257, allocations: 1.208 MB / 0.7506 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/5.257, allocations: 8 kB / 0.7506 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/5.257, allocations: 3.906 kB / 0.7506 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/5.257, allocations: 167 kB / 0.7508 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/5.257, allocations: 3.984 kB / 0.7508 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/5.257, allocations: 4 kB / 0.7508 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.464e-05/5.257, allocations: 0 / 0.7508 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.824e-05/5.257, allocations: 25.7 kB / 0.7508 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/5.257, allocations: 4 kB / 0.7508 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/5.257, allocations: 0 / 0.7508 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/5.257, allocations: 3.906 kB / 0.7508 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/5.258, allocations: 126.2 kB / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.299e-05/5.258, allocations: 22.58 kB / 0.7509 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/5.258, allocations: 12.89 kB / 0.7509 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007453/5.258, allocations: 0.5583 MB / 0.7515 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/5.259, allocations: 30.56 kB / 0.7515 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.555e-06/5.259, allocations: 0 / 0.7515 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002085/5.259, allocations: 37.69 kB / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/5.259, allocations: 51.41 kB / 0.7516 GB, free: 11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.258e-05/5.259, allocations: 89 kB / 0.7517 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/5.259, allocations: 25.7 kB / 0.7517 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/5.259, allocations: 80.14 kB / 0.7518 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/5.259, allocations: 7.906 kB / 0.7518 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/5.259, allocations: 0 / 0.7518 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001258/5.259, allocations: 310.8 kB / 0.7521 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/5.259, allocations: 4.031 kB / 0.7521 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.168e-06/5.259, allocations: 0 / 0.7521 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.698e-05/5.259, allocations: 4 kB / 0.7521 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/5.259, allocations: 0 / 0.7521 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.278e-05/5.259, allocations: 41.56 kB / 0.7521 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/5.259, allocations: 8 kB / 0.7521 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/5.259, allocations: 0 / 0.7521 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/5.259, allocations: 0 / 0.7521 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/5.26, allocations: 0 / 0.7521 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/5.26, allocations: 12 kB / 0.7522 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/5.26, allocations: 0 / 0.7522 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/5.26, allocations: 0 / 0.7522 GB, free: 10.4 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.517e-05/5.26, allocations: 101 kB / 0.7523 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-06/5.26, allocations: 3.938 kB / 0.7523 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/5.26, allocations: 52.62 kB / 0.7523 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/5.26, allocations: 0 / 0.7523 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/5.26, allocations: 0 / 0.7523 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/5.26, allocations: 3.906 kB / 0.7523 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.52e-05/5.26, allocations: 122.2 kB / 0.7524 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/5.26, allocations: 11.98 kB / 0.7524 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/5.26, allocations: 0 / 0.7524 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/5.26, allocations: 0 / 0.7524 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/5.26, allocations: 0 / 0.7524 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/5.26, allocations: 0 / 0.7524 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/5.26, allocations: 0 / 0.7524 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001114/5.26, allocations: 65.08 kB / 0.7525 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002293/5.26, allocations: 441.5 kB / 0.7529 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/5.261, allocations: 77.11 kB / 0.753 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/5.261, allocations: 7.891 kB / 0.753 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/5.261, allocations: 4.062 kB / 0.753 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/5.261, allocations: 4 kB / 0.753 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/5.261, allocations: 0 / 0.753 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.947e-05/5.261, allocations: 75.28 kB / 0.7531 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001058/5.262, allocations: 8 kB / 0.7531 GB, free: 9.34 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.0002435/5.262, allocations: 111.2 kB / 0.7532 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.193e-05/5.262, allocations: 4 kB / 0.7532 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/5.262, allocations: 4.062 kB / 0.7532 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.231e-05/5.262, allocations: 7.984 kB / 0.7532 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/5.262, allocations: 2.75 kB / 0.7532 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/5.262, allocations: 52.67 kB / 0.7533 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/5.263, allocations: 0.6841 MB / 0.7539 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/5.263, allocations: 0 / 0.7539 GB, free: 8.418 MB / 0.6355 GB