Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 289.8 MB / 297.1 MB, free: 6.613 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 181.3 kB / 366.3 MB, free: 1.945 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.1 MB / 0.6256 GB, free: 5.867 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008941/0.0008944, allocations: 95.09 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2959/0.2968, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.773/1.07, allocations: 116.3 MB / 0.9727 GB, free: 68.29 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.191/1.261, allocations: 139.2 MB / 1.109 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/1.261, allocations: 87.88 kB / 1.109 GB, free: 9.242 MB / 0.7136 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.01154/1.273, allocations: 3.594 MB / 1.112 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.273, allocations: 8 kB / 1.112 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/1.273, allocations: 4 kB / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/1.273, allocations: 163 kB / 1.112 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/1.273, allocations: 4 kB / 1.112 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/1.273, allocations: 3.938 kB / 1.112 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001096/1.273, allocations: 23.98 kB / 1.112 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/1.273, allocations: 69.59 kB / 1.112 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.273, allocations: 7.984 kB / 1.112 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/1.273, allocations: 0 / 1.112 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/1.273, allocations: 3.984 kB / 1.112 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000204/1.274, allocations: 147 kB / 1.113 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.917e-05/1.274, allocations: 50.55 kB / 1.113 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.53e-05/1.274, allocations: 40.88 kB / 1.113 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/1.274, allocations: 0 / 1.113 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/1.274, allocations: 34.56 kB / 1.113 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/1.274, allocations: 0 / 1.113 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004292/1.274, allocations: 109.5 kB / 1.113 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/1.274, allocations: 85.09 kB / 1.113 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.612e-05/1.275, allocations: 102.8 kB / 1.113 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/1.275, allocations: 26.36 kB / 1.113 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/1.275, allocations: 84.12 kB / 1.113 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/1.275, allocations: 23.66 kB / 1.113 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/1.275, allocations: 0 / 1.113 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002249/1.275, allocations: 326.9 kB / 1.113 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/1.275, allocations: 23.98 kB / 1.113 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/1.275, allocations: 23.97 kB / 1.113 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/1.275, allocations: 33.09 kB / 1.113 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.275, allocations: 3.906 kB / 1.114 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000238/1.275, allocations: 105.8 kB / 1.114 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.275, allocations: 8 kB / 1.114 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.275, allocations: 2.578 kB / 1.114 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.275, allocations: 0 / 1.114 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/1.275, allocations: 64 / 1.114 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/1.275, allocations: 7.906 kB / 1.114 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.672e-05/1.276, allocations: 7.938 kB / 1.114 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/1.276, allocations: 7.984 kB / 1.114 GB, free: 3.949 MB / 0.7136 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.0001171/1.276, allocations: 142.7 kB / 1.114 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/1.276, allocations: 7.906 kB / 1.114 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.08e-05/1.276, allocations: 4.938 kB / 1.114 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.276, allocations: 0 / 1.114 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.276, allocations: 3.938 kB / 1.114 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/1.276, allocations: 4 kB / 1.114 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/1.276, allocations: 150.1 kB / 1.114 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.276, allocations: 4 kB / 1.114 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-06/1.276, allocations: 4.547 kB / 1.114 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/1.276, allocations: 0 / 1.114 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/1.276, allocations: 4 kB / 1.114 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/1.276, allocations: 0 / 1.114 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.276, allocations: 0 / 1.114 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000278/1.276, allocations: 145 kB / 1.114 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003974/1.277, allocations: 0.5216 MB / 1.115 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/1.277, allocations: 85.02 kB / 1.115 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/1.277, allocations: 0 / 1.115 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.159e-05/1.277, allocations: 8 kB / 1.115 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/1.277, allocations: 11.89 kB / 1.115 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/1.277, allocations: 4 kB / 1.115 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.642e-05/1.277, allocations: 99.3 kB / 1.115 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009301/1.278, allocations: 71.94 kB / 1.115 GB, free: 2.582 MB / 0.7136 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.0004071/1.278, allocations: 183.7 kB / 1.115 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001943/1.278, allocations: 105.7 kB / 1.115 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.278, allocations: 0 / 1.115 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/1.279, allocations: 109.6 kB / 1.115 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/1.279, allocations: 7.453 kB / 1.115 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/1.279, allocations: 107.9 kB / 1.115 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/1.279, allocations: 0.7035 MB / 1.116 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/1.279, allocations: 0 / 1.116 GB, free: 1.309 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)