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.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",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.051/4.051, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5868/4.638, allocations: 104.4 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/4.881, allocations: 98.71 MB / 0.6283 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2587/5.14, allocations: 124.1 MB / 0.7495 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/5.14, allocations: 79.59 kB / 0.7496 GB, free: 13.44 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.009256/5.149, allocations: 1.855 MB / 0.7514 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/5.149, allocations: 8 kB / 0.7514 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/5.15, allocations: 4 kB / 0.7514 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/5.15, allocations: 163 kB / 0.7515 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/5.15, allocations: 3.906 kB / 0.7516 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/5.15, allocations: 4 kB / 0.7516 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.08e-05/5.15, allocations: 16 kB / 0.7516 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.661e-05/5.15, allocations: 41.69 kB / 0.7516 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/5.15, allocations: 0 / 0.7516 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/5.15, allocations: 0 / 0.7516 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/5.15, allocations: 0 / 0.7516 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/5.15, allocations: 138.1 kB / 0.7517 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.931e-05/5.15, allocations: 38.62 kB / 0.7518 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/5.15, allocations: 20.98 kB / 0.7518 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005752/5.151, allocations: 0.5583 MB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/5.151, allocations: 38.55 kB / 0.7524 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.834e-06/5.151, allocations: 0 / 0.7524 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.001173/5.152, allocations: 338.2 kB / 0.7527 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/5.152, allocations: 59.34 kB / 0.7528 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.84e-05/5.152, allocations: 88.98 kB / 0.7528 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/5.152, allocations: 25.7 kB / 0.7529 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/5.152, allocations: 80.14 kB / 0.7529 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.998e-05/5.152, allocations: 31.5 kB / 0.753 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-06/5.153, allocations: 0 / 0.753 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001196/5.153, allocations: 318.8 kB / 0.7533 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/5.153, allocations: 20.12 kB / 0.7533 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.645e-05/5.153, allocations: 16 kB / 0.7533 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/5.153, allocations: 19.98 kB / 0.7533 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/5.153, allocations: 4 kB / 0.7533 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00024/5.153, allocations: 81.53 kB / 0.7534 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/5.153, allocations: 4 kB / 0.7534 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/5.153, allocations: 0 / 0.7534 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/5.153, allocations: 0 / 0.7534 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/5.153, allocations: 19.98 kB / 0.7534 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/5.153, allocations: 0 / 0.7534 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/5.154, allocations: 0 / 0.7534 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/5.154, allocations: 4 kB / 0.7534 GB, free: 9.098 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 8.876e-05/5.154, allocations: 116.8 kB / 0.7536 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/5.154, allocations: 0 / 0.7536 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004032/5.154, allocations: 105.9 kB / 0.7537 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/5.154, allocations: 3.906 kB / 0.7537 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/5.154, allocations: 3.938 kB / 0.7537 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/5.154, allocations: 0 / 0.7537 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/5.154, allocations: 142.5 kB / 0.7538 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/5.154, allocations: 8 kB / 0.7538 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/5.155, allocations: 15.98 kB / 0.7538 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/5.155, allocations: 0 / 0.7538 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/5.155, allocations: 4 kB / 0.7538 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/5.155, allocations: 0 / 0.7538 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/5.155, allocations: 3.938 kB / 0.7538 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003354/5.155, allocations: 136.9 kB / 0.754 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00051/5.155, allocations: 0.5255 MB / 0.7545 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/5.156, allocations: 81.02 kB / 0.7545 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/5.156, allocations: 0 / 0.7545 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/5.156, allocations: 4 kB / 0.7546 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/5.156, allocations: 3.984 kB / 0.7546 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/5.156, allocations: 8 kB / 0.7546 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.261e-05/5.156, allocations: 75.28 kB / 0.7546 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001145/5.157, allocations: 32.09 kB / 0.7547 GB, free: 7.73 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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.0002606/5.157, allocations: 131.5 kB / 0.7548 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001762/5.157, allocations: 47.94 kB / 0.7548 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/5.157, allocations: 4 kB / 0.7548 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.783e-05/5.157, allocations: 20 kB / 0.7549 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/5.158, allocations: 7.891 kB / 0.7549 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/5.158, allocations: 108.1 kB / 0.755 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/5.158, allocations: 0.6958 MB / 0.7557 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of SimCode: time 2.605e-06/5.159, allocations: 0 / 0.7557 GB, free: 6.664 MB / 0.6355 GB