Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.505/3.505, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4807/3.985, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/4.211, allocations: 98.72 MB / 0.6283 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.225/4.436, allocations: 125.3 MB / 0.7506 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003576/4.436, allocations: 91.58 kB / 0.7507 GB, free: 12.24 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.017/4.453, allocations: 3.303 MB / 0.7539 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/4.454, allocations: 8 kB / 0.7539 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/4.454, allocations: 11.89 kB / 0.754 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/4.454, allocations: 171 kB / 0.7541 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/4.454, allocations: 11.84 kB / 0.7541 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/4.454, allocations: 0 / 0.7541 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000144/4.454, allocations: 39.98 kB / 0.7542 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/4.454, allocations: 66.39 kB / 0.7542 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/4.454, allocations: 0 / 0.7542 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/4.454, allocations: 4 kB / 0.7542 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/4.454, allocations: 0 / 0.7542 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/4.455, allocations: 269.3 kB / 0.7545 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/4.455, allocations: 50.56 kB / 0.7545 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/4.455, allocations: 40.92 kB / 0.7546 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/4.455, allocations: 3.984 kB / 0.7546 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/4.455, allocations: 30.56 kB / 0.7546 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/4.455, allocations: 0 / 0.7546 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003617/4.455, allocations: 109.6 kB / 0.7547 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/4.455, allocations: 85.09 kB / 0.7548 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/4.456, allocations: 112.9 kB / 0.7549 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/4.456, allocations: 29.7 kB / 0.7549 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/4.456, allocations: 80.14 kB / 0.755 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/4.456, allocations: 11.84 kB / 0.755 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/4.456, allocations: 4 kB / 0.755 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001512/4.456, allocations: 318.7 kB / 0.7553 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/4.456, allocations: 52.02 kB / 0.7554 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/4.456, allocations: 59.97 kB / 0.7554 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/4.456, allocations: 51.97 kB / 0.7555 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/4.456, allocations: 3.938 kB / 0.7555 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003717/4.457, allocations: 145.6 kB / 0.7556 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/4.457, allocations: 4 kB / 0.7556 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/4.457, allocations: 3.906 kB / 0.7556 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/4.457, allocations: 3.984 kB / 0.7556 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/4.457, allocations: 4 kB / 0.7556 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/4.457, allocations: 0 / 0.7556 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/4.457, allocations: 12 kB / 0.7557 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/4.457, allocations: 0 / 0.7557 GB, free: 6.949 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.000118/4.457, allocations: 138.6 kB / 0.7558 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/4.457, allocations: 7.906 kB / 0.7558 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/4.457, allocations: 12 kB / 0.7558 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/4.457, allocations: 0 / 0.7558 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/4.457, allocations: 0 / 0.7558 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/4.457, allocations: 7.906 kB / 0.7558 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/4.458, allocations: 146.2 kB / 0.756 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/4.458, allocations: 0 / 0.756 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.886e-05/4.458, allocations: 4 kB / 0.756 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/4.458, allocations: 3.938 kB / 0.756 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/4.458, allocations: 4 kB / 0.756 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/4.458, allocations: 0 / 0.756 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/4.458, allocations: 0 / 0.756 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003271/4.458, allocations: 215.4 kB / 0.7562 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004674/4.459, allocations: 0.5797 MB / 0.7567 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/4.459, allocations: 81.02 kB / 0.7568 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/4.459, allocations: 4 kB / 0.7568 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/4.459, allocations: 12.05 kB / 0.7568 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/4.459, allocations: 8 kB / 0.7568 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/4.459, allocations: 4.062 kB / 0.7568 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.748e-05/4.459, allocations: 103.5 kB / 0.7569 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001326/4.46, allocations: 75.86 kB / 0.757 GB, free: 5.453 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0004203/4.461, allocations: 155.2 kB / 0.7572 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003509/4.461, allocations: 155.4 kB / 0.7573 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/4.461, allocations: 4 kB / 0.7573 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/4.461, allocations: 77.61 kB / 0.7574 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/4.462, allocations: 7.656 kB / 0.7574 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/4.462, allocations: 123.6 kB / 0.7575 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/4.462, allocations: 0.6954 MB / 0.7582 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of SimCode: time 8.81e-07/4.462, allocations: 0 / 0.7582 GB, free: 4.176 MB / 0.6355 GB