Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",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 3.629/3.629, allocations: 248.6 MB / 255.9 MB, free: 7.117 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.002832/0.002832, allocations: 194.8 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 2.62/2.62, allocations: 205.1 MB / 0.5658 GB, free: 288 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.001359/0.001358, allocations: 91.31 kB / 0.67 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.573/0.5744, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.8643, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9191/1.783, allocations: 131.4 MB / 1.012 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003732/1.784, allocations: 71.27 kB / 1.012 GB, free: 8.727 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.009209/1.793, allocations: 1.312 MB / 1.013 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.639e-05/1.793, allocations: 12 kB / 1.013 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/1.793, allocations: 3.906 kB / 1.013 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/1.794, allocations: 186.2 kB / 1.013 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/1.794, allocations: 4.875 kB / 1.013 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/1.794, allocations: 0 / 1.013 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001393/1.794, allocations: 15.88 kB / 1.013 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/1.794, allocations: 45.58 kB / 1.013 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/1.794, allocations: 0 / 1.013 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/1.794, allocations: 0 / 1.013 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/1.794, allocations: 0 / 1.013 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/1.795, allocations: 308.8 kB / 1.014 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/1.795, allocations: 33 kB / 1.014 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/1.795, allocations: 20.78 kB / 1.014 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/1.795, allocations: 0 / 1.014 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/1.795, allocations: 33.75 kB / 1.014 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/1.795, allocations: 0 / 1.014 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.05427/1.849, allocations: 1.263 MB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/1.849, allocations: 51.41 kB / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/1.85, allocations: 110.4 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/1.85, allocations: 29.69 kB / 1.015 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/1.85, allocations: 91.98 kB / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/1.85, allocations: 19.09 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/1.85, allocations: 0 / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.85, allocations: 322.3 kB / 1.016 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006642/1.851, allocations: 112.5 kB / 1.016 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006839/1.851, allocations: 111.2 kB / 1.016 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/1.853, allocations: 173.6 kB / 1.016 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.853, allocations: 3.938 kB / 1.016 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002798/1.856, allocations: 337.4 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/1.856, allocations: 8 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.856, allocations: 0 / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/1.856, allocations: 0 / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003713/1.86, allocations: 67.94 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/1.86, allocations: 0 / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004832/1.865, allocations: 63.84 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002501/1.865, allocations: 4 kB / 1.016 GB, free: 4.281 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.0004391/1.865, allocations: 107.2 kB / 1.017 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/1.866, allocations: 8.188 kB / 1.017 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008371/1.866, allocations: 27.61 kB / 1.017 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.867, allocations: 3.984 kB / 1.017 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/1.867, allocations: 4 kB / 1.017 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/1.867, allocations: 3.938 kB / 1.017 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/1.884, allocations: 0.8396 MB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/1.884, allocations: 8.062 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002524/1.886, allocations: 55.94 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/1.886, allocations: 7.906 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.529e-05/1.887, allocations: 3.984 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/1.887, allocations: 4 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.887, allocations: 4 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001947/1.889, allocations: 343.9 kB / 1.018 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002023/1.891, allocations: 0.7134 MB / 1.019 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/1.891, allocations: 85 kB / 1.019 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/1.891, allocations: 4 kB / 1.019 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/1.893, allocations: 52.89 kB / 1.019 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/1.893, allocations: 11.86 kB / 1.019 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.474e-05/1.893, allocations: 3.938 kB / 1.019 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.087e-05/1.893, allocations: 94.88 kB / 1.019 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001408/1.895, allocations: 107.9 kB / 1.019 GB, free: 1.785 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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.0003489/1.895, allocations: 119.2 kB / 1.019 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001333/1.897, allocations: 190 kB / 1.019 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.897, allocations: 0 / 1.019 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005379/1.897, allocations: 66.73 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/1.897, allocations: 9.125 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/1.903, allocations: 347.2 kB / 1.02 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/1.905, allocations: 0.7769 MB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of SimCode: time 1.292e-06/1.905, allocations: 0 / 1.02 GB, free: 308 kB / 0.6355 GB