Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.688/2.688, allocations: 248.6 MB / 255.9 MB, free: 7.125 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.001678/0.001677, allocations: 181.9 kB / 315.1 MB, free: 4.281 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.397/2.397, allocations: 205.1 MB / 0.5658 GB, free: 312 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.001302/0.001302, allocations: 90.45 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5818/0.5831, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.8813, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8297/1.711, allocations: 132.6 MB / 1.013 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004288/1.712, allocations: 76.95 kB / 1.013 GB, free: 7.262 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.02116/1.733, allocations: 3.307 MB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.212e-05/1.733, allocations: 15.94 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.548e-05/1.733, allocations: 7.906 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/1.733, allocations: 172.1 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/1.733, allocations: 0 / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/1.733, allocations: 4 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002697/1.734, allocations: 59.2 kB / 1.017 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/1.734, allocations: 99.89 kB / 1.017 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/1.734, allocations: 0 / 1.017 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/1.734, allocations: 0 / 1.017 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/1.734, allocations: 7.906 kB / 1.017 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/1.734, allocations: 156.8 kB / 1.017 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/1.735, allocations: 85.36 kB / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/1.735, allocations: 74.7 kB / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/1.735, allocations: 0 / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.539e-05/1.735, allocations: 30.56 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.256e-06/1.735, allocations: 3.984 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0007148/1.736, allocations: 163.4 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.54e-05/1.736, allocations: 85.02 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/1.736, allocations: 133.8 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/1.736, allocations: 25.7 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.071e-05/1.737, allocations: 91.81 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/1.737, allocations: 7.812 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/1.737, allocations: 4 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002095/1.737, allocations: 318 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/1.737, allocations: 101.5 kB / 1.018 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/1.738, allocations: 102.6 kB / 1.018 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/1.738, allocations: 110 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.738, allocations: 0 / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001021/1.739, allocations: 262.4 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/1.739, allocations: 4 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.739, allocations: 0 / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/1.739, allocations: 3.984 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.667e-06/1.739, allocations: 0.875 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.739, allocations: 3.906 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/1.74, allocations: 19.81 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/1.74, allocations: 4.031 kB / 1.018 GB, free: 2.145 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 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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.0002542/1.74, allocations: 142.6 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/1.74, allocations: 7.906 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/1.74, allocations: 12.06 kB / 1.019 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.74, allocations: 0 / 1.019 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.74, allocations: 3.375 kB / 1.019 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.74, allocations: 0 / 1.019 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/1.741, allocations: 157.7 kB / 1.019 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/1.741, allocations: 0 / 1.019 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-06/1.741, allocations: 0 / 1.019 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/1.741, allocations: 4 kB / 1.019 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/1.741, allocations: 3.938 kB / 1.019 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/1.741, allocations: 7.984 kB / 1.019 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.741, allocations: 0 / 1.019 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000787/1.741, allocations: 194.9 kB / 1.019 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009439/1.742, allocations: 0.5708 MB / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.184e-05/1.743, allocations: 81.02 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/1.743, allocations: 4 kB / 1.019 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/1.743, allocations: 11.73 kB / 1.02 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/1.743, allocations: 4 kB / 1.02 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/1.743, allocations: 0 / 1.02 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001718/1.743, allocations: 113.9 kB / 1.02 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002967/1.746, allocations: 67.38 kB / 1.02 GB, free: 0.7148 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 (i) * Number of discrete states: 1 (i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0008819/1.747, allocations: 163.1 kB / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009347/1.748, allocations: 242.5 kB / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.748, allocations: 0 / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/1.749, allocations: 110.9 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/1.749, allocations: 15.58 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/1.75, allocations: 162.2 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/1.75, allocations: 0.6998 MB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of SimCode: time 1.643e-06/1.75, allocations: 4 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB