Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.SpliceFunction,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.056/2.056, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.001686/0.001686, allocations: 182.6 kB / 315.1 MB, free: 4.258 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.883/1.883, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001324/0.001323, allocations: 87.06 kB / 0.67 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5831/0.5845, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.8255, allocations: 106.3 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6853/1.511, allocations: 131.9 MB / 1.012 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004709/1.511, allocations: 80.56 kB / 1.012 GB, free: 8.266 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.008868/1.52, allocations: 1.219 MB / 1.014 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/1.52, allocations: 8 kB / 1.014 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/1.52, allocations: 3.906 kB / 1.014 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/1.521, allocations: 163.1 kB / 1.014 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/1.521, allocations: 4 kB / 1.014 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/1.521, allocations: 3.938 kB / 1.014 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.335e-05/1.521, allocations: 0 / 1.014 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.685e-05/1.521, allocations: 33.58 kB / 1.014 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.521, allocations: 4 kB / 1.014 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/1.521, allocations: 4 kB / 1.014 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/1.521, allocations: 0 / 1.014 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/1.521, allocations: 126.2 kB / 1.014 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.627e-05/1.521, allocations: 14.58 kB / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/1.521, allocations: 8.953 kB / 1.014 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009401/1.522, allocations: 0.5653 MB / 1.014 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/1.522, allocations: 30.56 kB / 1.014 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 3.247e-06/1.522, allocations: 0 / 1.014 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002564/1.523, allocations: 33.64 kB / 1.015 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/1.523, allocations: 51.41 kB / 1.015 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.987e-05/1.523, allocations: 85 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/1.523, allocations: 28.33 kB / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/1.523, allocations: 80.14 kB / 1.015 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/1.523, allocations: 11.94 kB / 1.015 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/1.523, allocations: 0 / 1.015 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.523, allocations: 318.5 kB / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/1.523, allocations: 0 / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.29e-05/1.523, allocations: 0 / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.309e-05/1.523, allocations: 4 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.523, allocations: 0 / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001651/1.523, allocations: 33.7 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.524, allocations: 8.094 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.524, allocations: 0 / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/1.524, allocations: 3.984 kB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/1.524, allocations: 3.938 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.524, allocations: 4 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.528e-05/1.524, allocations: 3.906 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/1.524, allocations: 0 / 1.015 GB, free: 5.266 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 0.0001065/1.524, allocations: 101 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/1.524, allocations: 0 / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/1.524, allocations: 51.45 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/1.524, allocations: 3.984 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.524, allocations: 0 / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/1.524, allocations: 3.938 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/1.524, allocations: 126.2 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.524, allocations: 7.938 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/1.525, allocations: 0 / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/1.525, allocations: 4.031 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/1.525, allocations: 0 / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/1.525, allocations: 0.7812 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.525, allocations: 3.984 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001764/1.525, allocations: 67.36 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003718/1.525, allocations: 441.4 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/1.525, allocations: 77.11 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/1.525, allocations: 0 / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.382e-05/1.525, allocations: 4.781 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/1.525, allocations: 4 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/1.525, allocations: 0 / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.953e-05/1.525, allocations: 75.28 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001845/1.527, allocations: 11.92 kB / 1.016 GB, free: 4.211 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.0003678/1.528, allocations: 111.3 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001137/1.528, allocations: 7.938 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.528, allocations: 0 / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.521e-05/1.528, allocations: 0 / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/1.528, allocations: 4 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/1.528, allocations: 47.98 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003485/1.529, allocations: 0.6802 MB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of SimCode: time 1.813e-06/1.529, allocations: 4.125 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB