Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.196/2.196, allocations: 253.1 MB / 260.4 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001616/0.001616, allocations: 188.9 kB / 319.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 0.5704 GB, free: 15.11 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001361/0.001361, allocations: 87.33 kB / 0.6746 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.411e-05/1.43e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2538, allocations: 106.2 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.638/0.8919, allocations: 132.6 MB / 1.018 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/0.8923, allocations: 83.06 kB / 1.018 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01652/0.9088, allocations: 2.876 MB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.9089, allocations: 0 / 1.02 GB, free: 3.332 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.0005763/0.9095, allocations: 433.3 kB / 1.021 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.9095, allocations: 12.03 kB / 1.021 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.9096, allocations: 12.77 kB / 1.021 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.9098, allocations: 171 kB / 1.021 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.9098, allocations: 0 / 1.021 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.9098, allocations: 6.75 kB / 1.021 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001884/0.91, allocations: 62.83 kB / 1.021 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.9102, allocations: 95.22 kB / 1.021 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.9103, allocations: 3.984 kB / 1.021 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.9103, allocations: 4 kB / 1.021 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.9103, allocations: 7.844 kB / 1.021 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.9105, allocations: 163.9 kB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.9107, allocations: 84.44 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.9109, allocations: 67.38 kB / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-06/0.9109, allocations: 0 / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.9109, allocations: 34.55 kB / 1.022 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.911, allocations: 0 / 1.022 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0005172/0.9115, allocations: 160.6 kB / 1.022 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.9116, allocations: 92.05 kB / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.9117, allocations: 127.9 kB / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.9118, allocations: 25.7 kB / 1.022 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.9118, allocations: 90.89 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.9119, allocations: 15.31 kB / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/0.9119, allocations: 0 / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.9121, allocations: 318 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.9123, allocations: 99.81 kB / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.9125, allocations: 105.5 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.9129, allocations: 104.8 kB / 1.023 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.9129, allocations: 3.938 kB / 1.023 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006278/0.9135, allocations: 261.6 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.9136, allocations: 4 kB / 1.023 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.9136, allocations: 0.625 kB / 1.023 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.9136, allocations: 0 / 1.023 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.684e-06/0.9136, allocations: 0 / 1.023 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.9137, allocations: 7.906 kB / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.9138, allocations: 15.94 kB / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.9138, allocations: 4 kB / 1.023 GB, free: 0.7031 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.0001347/0.914, allocations: 141.5 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.914, allocations: 11.84 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.9141, allocations: 8.125 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.9141, allocations: 0 / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.9141, allocations: 3.938 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.9141, allocations: 3.984 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.9143, allocations: 152.8 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9143, allocations: 4 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/0.9143, allocations: 0 / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.9143, allocations: 0 / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.9143, allocations: 4 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.9143, allocations: 0 / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.9144, allocations: 3.984 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004542/0.9148, allocations: 194.1 kB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.9149, allocations: 81.02 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.9149, allocations: 4.031 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-05/0.915, allocations: 11.98 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/0.9151, allocations: 10.72 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.9151, allocations: 0 / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001661/0.9153, allocations: 105.4 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000484/0.9158, allocations: 71.88 kB / 1.024 GB, free: 15.85 MB / 0.6511 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.0004185/0.9163, allocations: 162.6 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004936/0.9168, allocations: 245.1 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9168, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.917, allocations: 110.6 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.9172, allocations: 11.48 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.9176, allocations: 157.9 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/0.918, allocations: 0.7032 MB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of SimCode: time 1.433e-06/0.9181, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of Templates: time 0.006261/0.9243, allocations: 1.699 MB / 1.027 GB, free: 12.78 MB / 0.6511 GB