Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.152/2.152, allocations: 248.6 MB / 255.9 MB, free: 7.121 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001697/0.001697, allocations: 199.6 kB / 315.1 MB, free: 4.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.2 MB / 0.5658 GB, free: 172 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 82.67 kB / 0.67 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.475/0.4763, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.6851, allocations: 106.3 MB / 0.8835 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7173/1.402, allocations: 132.1 MB / 1.012 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/1.403, allocations: 72.08 kB / 1.013 GB, free: 7.883 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.01098/1.414, allocations: 1.861 MB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/1.414, allocations: 8 kB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/1.414, allocations: 4 kB / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/1.414, allocations: 170.8 kB / 1.015 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/1.414, allocations: 0 / 1.015 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/1.414, allocations: 3.906 kB / 1.015 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.877e-05/1.414, allocations: 8 kB / 1.015 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.895e-05/1.414, allocations: 40.94 kB / 1.015 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/1.414, allocations: 0 / 1.015 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/1.414, allocations: 0 / 1.015 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/1.414, allocations: 0 / 1.015 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/1.415, allocations: 141.6 kB / 1.015 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.692e-05/1.415, allocations: 42.03 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/1.415, allocations: 28.16 kB / 1.015 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006562/1.416, allocations: 0.5544 MB / 1.015 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/1.416, allocations: 30.56 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/1.416, allocations: 4 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.00156/1.417, allocations: 343.8 kB / 1.016 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/1.417, allocations: 51.41 kB / 1.016 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/1.417, allocations: 92.98 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/1.417, allocations: 25.7 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/1.418, allocations: 80.14 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/1.418, allocations: 31.12 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/1.418, allocations: 0 / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001953/1.418, allocations: 318.2 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.496e-05/1.418, allocations: 18.81 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.802e-05/1.418, allocations: 12.41 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/1.418, allocations: 25.23 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.418, allocations: 0 / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004443/1.419, allocations: 84.22 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/1.419, allocations: 8 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/1.419, allocations: 7.938 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/1.419, allocations: 0 / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/1.419, allocations: 12 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/1.419, allocations: 3.984 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-05/1.419, allocations: 0 / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/1.419, allocations: 11.19 kB / 1.016 GB, free: 3.902 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.000137/1.42, allocations: 108.8 kB / 1.017 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/1.42, allocations: 4 kB / 1.017 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006571/1.42, allocations: 95.75 kB / 1.017 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/1.42, allocations: 4 kB / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/1.42, allocations: 4 kB / 1.017 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/1.42, allocations: 3.906 kB / 1.017 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/1.421, allocations: 145 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.421, allocations: 0 / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/1.421, allocations: 15.98 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/1.421, allocations: 0 / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/1.421, allocations: 0 / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.136e-06/1.421, allocations: 0 / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.421, allocations: 3.938 kB / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000711/1.422, allocations: 133.4 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008738/1.423, allocations: 0.5261 MB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/1.423, allocations: 85.02 kB / 1.018 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/1.423, allocations: 0 / 1.018 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/1.423, allocations: 96 / 1.018 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/1.423, allocations: 12.06 kB / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/1.423, allocations: 3.984 kB / 1.018 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.137e-05/1.423, allocations: 78.28 kB / 1.018 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002711/1.426, allocations: 35.94 kB / 1.018 GB, free: 2.629 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.0004184/1.426, allocations: 123.2 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002526/1.427, allocations: 50.14 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.427, allocations: 0 / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/1.427, allocations: 30.34 kB / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/1.427, allocations: 6.609 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008124/1.428, allocations: 106.4 kB / 1.018 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004941/1.428, allocations: 0.6919 MB / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/1.428, allocations: 3.938 kB / 1.019 GB, free: 1.598 MB / 0.6355 GB