Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",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.234/2.234, allocations: 248.6 MB / 255.9 MB, free: 7.16 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.001642/0.001642, allocations: 184.3 kB / 315.1 MB, free: 4.238 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.981/1.981, allocations: 205.1 MB / 0.5658 GB, free: 260 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.00133/0.001329, allocations: 85.73 kB / 0.67 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4997/0.5011, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.7321, allocations: 106.3 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6996/1.432, allocations: 132.7 MB / 1.013 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/1.432, allocations: 81.77 kB / 1.013 GB, free: 7.387 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01851/1.451, allocations: 3.604 MB / 1.017 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/1.451, allocations: 8 kB / 1.017 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/1.451, allocations: 11.91 kB / 1.017 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/1.451, allocations: 167.1 kB / 1.017 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/1.451, allocations: 0 / 1.017 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/1.451, allocations: 4 kB / 1.017 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000129/1.451, allocations: 35.75 kB / 1.017 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/1.451, allocations: 61.77 kB / 1.017 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.451, allocations: 0 / 1.017 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/1.451, allocations: 4 kB / 1.017 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.452, allocations: 0 / 1.017 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/1.452, allocations: 140.4 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/1.452, allocations: 54.11 kB / 1.017 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.083e-05/1.452, allocations: 42.41 kB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/1.452, allocations: 0 / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/1.452, allocations: 37.75 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/1.452, allocations: 0 / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005159/1.453, allocations: 107.8 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/1.453, allocations: 77.11 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/1.453, allocations: 119.1 kB / 1.018 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/1.453, allocations: 25.7 kB / 1.018 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/1.453, allocations: 84.14 kB / 1.018 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-05/1.453, allocations: 22.72 kB / 1.018 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/1.453, allocations: 0 / 1.018 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002828/1.453, allocations: 317.8 kB / 1.018 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/1.453, allocations: 23.86 kB / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/1.454, allocations: 31.03 kB / 1.018 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/1.454, allocations: 35.88 kB / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.454, allocations: 0 / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004176/1.454, allocations: 104.6 kB / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.454, allocations: 7.938 kB / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.454, allocations: 0 / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/1.454, allocations: 0 / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-06/1.454, allocations: 0 / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/1.454, allocations: 7.984 kB / 1.018 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.954e-05/1.455, allocations: 0 / 1.018 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/1.455, allocations: 8 kB / 1.018 GB, free: 2.559 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): 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 prepare postOptimizeDAE: time 0.0001384/1.455, allocations: 142.6 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/1.455, allocations: 4 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/1.455, allocations: 15.91 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.455, allocations: 0 / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.455, allocations: 0 / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.455, allocations: 3.938 kB / 1.018 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/1.455, allocations: 154 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/1.455, allocations: 0 / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-06/1.455, allocations: 0 / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.455, allocations: 0 / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/1.455, allocations: 11.91 kB / 1.019 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.455, allocations: 6.75 kB / 1.019 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.455, allocations: 0 / 1.019 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004718/1.456, allocations: 150.2 kB / 1.019 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005856/1.456, allocations: 0.5167 MB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/1.456, allocations: 85.08 kB / 1.019 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/1.456, allocations: 4 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/1.456, allocations: 3.984 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/1.456, allocations: 11.61 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/1.456, allocations: 8 kB / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.09e-05/1.457, allocations: 91.03 kB / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00165/1.458, allocations: 79.12 kB / 1.019 GB, free: 1.23 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): 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.000601/1.459, allocations: 171.1 kB / 1.02 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002878/1.459, allocations: 119.3 kB / 1.02 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.459, allocations: 0 / 1.02 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/1.459, allocations: 108.2 kB / 1.02 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/1.46, allocations: 3.906 kB / 1.02 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/1.46, allocations: 114.3 kB / 1.02 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/1.46, allocations: 0.6958 MB / 1.021 GB, free: 16 kB / 0.6355 GB Notification: Performance of SimCode: time 1.312e-06/1.46, allocations: 0 / 1.021 GB, free: 16 kB / 0.6355 GB