Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.281/1.281, allocations: 249.4 MB / 256.7 MB, free: 7.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009878/0.000988, allocations: 181.2 kB / 316 MB, free: 7.898 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.1 MB / 0.5667 GB, free: 3.309 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007894/0.0007897, allocations: 89.38 kB / 0.671 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.377/0.3778, allocations: 112.5 MB / 0.7808 GB, free: 106.6 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.5529, allocations: 106.3 MB / 0.8847 GB, free: 156 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5482/1.101, allocations: 132.9 MB / 1.014 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/1.101, allocations: 81.42 kB / 1.014 GB, free: 11.54 MB / 0.6387 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.01064/1.112, allocations: 3.6 MB / 1.018 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/1.112, allocations: 8 kB / 1.018 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/1.112, allocations: 11.41 kB / 1.018 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/1.112, allocations: 163 kB / 1.018 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/1.112, allocations: 4 kB / 1.018 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/1.112, allocations: 3.906 kB / 1.018 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.094e-05/1.112, allocations: 23.55 kB / 1.018 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/1.113, allocations: 76.69 kB / 1.018 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/1.113, allocations: 0 / 1.018 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/1.113, allocations: 0 / 1.018 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/1.113, allocations: 0 / 1.018 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/1.113, allocations: 137.5 kB / 1.018 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 7.811e-05/1.113, allocations: 59.47 kB / 1.018 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/1.113, allocations: 39.39 kB / 1.019 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/1.113, allocations: 3.938 kB / 1.019 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/1.113, allocations: 34.56 kB / 1.019 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/1.113, allocations: 0 / 1.019 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0003455/1.113, allocations: 109.1 kB / 1.019 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/1.113, allocations: 88.7 kB / 1.019 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.973e-05/1.113, allocations: 100 kB / 1.019 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/1.113, allocations: 29.69 kB / 1.019 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/1.113, allocations: 80.14 kB / 1.019 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/1.113, allocations: 27.06 kB / 1.019 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/1.113, allocations: 0 / 1.019 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.114, allocations: 322.6 kB / 1.019 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.792e-05/1.114, allocations: 23.23 kB / 1.019 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.685e-05/1.114, allocations: 31.78 kB / 1.019 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/1.114, allocations: 27.97 kB / 1.019 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.114, allocations: 0 / 1.019 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002684/1.114, allocations: 107.3 kB / 1.019 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.114, allocations: 10.19 kB / 1.019 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/1.114, allocations: 0 / 1.019 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.114, allocations: 7.25 kB / 1.019 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/1.114, allocations: 0 / 1.019 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/1.114, allocations: 0 / 1.019 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/1.114, allocations: 7.984 kB / 1.019 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/1.114, allocations: 7.938 kB / 1.019 GB, free: 6.727 MB / 0.6387 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 8.902e-05/1.114, allocations: 142.6 kB / 1.02 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/1.114, allocations: 7.906 kB / 1.02 GB, free: 6.566 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.827e-05/1.114, allocations: 7.812 kB / 1.02 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/1.114, allocations: 0 / 1.02 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.114, allocations: 8 kB / 1.02 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/1.114, allocations: 0 / 1.02 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.027e-05/1.115, allocations: 145.1 kB / 1.02 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.115, allocations: 4 kB / 1.02 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-06/1.115, allocations: 3.984 kB / 1.02 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/1.115, allocations: 3.906 kB / 1.02 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/1.115, allocations: 4 kB / 1.02 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.115, allocations: 0 / 1.02 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.115, allocations: 3.938 kB / 1.02 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002504/1.115, allocations: 157.6 kB / 1.02 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003372/1.115, allocations: 0.5143 MB / 1.02 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/1.115, allocations: 85.02 kB / 1.021 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/1.115, allocations: 0 / 1.021 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.79e-05/1.115, allocations: 4 kB / 1.021 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/1.115, allocations: 11.48 kB / 1.021 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/1.115, allocations: 8.062 kB / 1.021 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.768e-05/1.115, allocations: 98.44 kB / 1.021 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000869/1.116, allocations: 75.75 kB / 1.021 GB, free: 5.398 MB / 0.6387 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.0002964/1.117, allocations: 179 kB / 1.021 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001618/1.117, allocations: 105.6 kB / 1.021 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.117, allocations: 0 / 1.021 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/1.117, allocations: 105 kB / 1.021 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/1.117, allocations: 10.28 kB / 1.021 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/1.117, allocations: 109.1 kB / 1.021 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/1.117, allocations: 0.6996 MB / 1.022 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/1.117, allocations: 0 / 1.022 GB, free: 4.188 MB / 0.6387 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)