Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [: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.0.1-maint.8.0.x/package.mo): time 1.307/1.307, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0008942/0.0008942, allocations: 185.3 kB / 361.1 MB, free: 7.109 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.035/1.035, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0007587/0.0007587, allocations: 81.08 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.558e-05/1.559e-05, allocations: 4 kB / 0.8511 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4509, allocations: 115.3 MB / 0.9637 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.5912, allocations: 138.2 MB / 1.099 GB, free: 1.855 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.5914, allocations: 84.5 kB / 1.099 GB, free: 1.773 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01067/0.6021, allocations: 3.196 MB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.6021, allocations: 0 / 1.102 GB, free: 14.65 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.0003045/0.6025, allocations: 402.3 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.6025, allocations: 8.531 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.6025, allocations: 5.75 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.6027, allocations: 171.5 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.6027, allocations: 4 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.6027, allocations: 4 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.048e-05/0.6028, allocations: 28.58 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.697e-05/0.6029, allocations: 61.66 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.6029, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.6029, allocations: 5.5 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.6029, allocations: 0 / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.603, allocations: 138.7 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.068e-05/0.6031, allocations: 58.48 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.6032, allocations: 40.88 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-06/0.6032, allocations: 4 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.6032, allocations: 30.56 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.6032, allocations: 0.6094 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003031/0.6036, allocations: 115.8 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.6036, allocations: 77.11 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.429e-05/0.6037, allocations: 105 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.6037, allocations: 33.73 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.571e-05/0.6037, allocations: 84.14 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.6038, allocations: 19.66 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.6038, allocations: 0 / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.6039, allocations: 318.8 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/0.6039, allocations: 31.27 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.789e-05/0.604, allocations: 27.97 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.6041, allocations: 31.91 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6041, allocations: 3.906 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002206/0.6043, allocations: 107.6 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.6043, allocations: 4 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6044, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.6044, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.934e-06/0.6044, allocations: 7.984 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.6044, allocations: 3.906 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.326e-05/0.6044, allocations: 1.125 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.6045, allocations: 11.94 kB / 1.104 GB, free: 12.55 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 7.842e-05/0.6045, allocations: 138.7 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.6046, allocations: 11.94 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.346e-05/0.6046, allocations: 8.891 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.6046, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.6046, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.6046, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.833e-05/0.6047, allocations: 154 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6047, allocations: 0.7969 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-06/0.6047, allocations: 1.938 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.6047, allocations: 0 / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.6047, allocations: 4 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.6047, allocations: 0 / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6047, allocations: 7.938 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002558/0.605, allocations: 149 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.605, allocations: 81.02 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.6051, allocations: 4 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.891e-05/0.6051, allocations: 4 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.6051, allocations: 3.984 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.6051, allocations: 12 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.761e-05/0.6052, allocations: 95.28 kB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002993/0.6055, allocations: 83.84 kB / 1.104 GB, free: 11.73 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.0002959/0.6058, allocations: 179.4 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.6059, allocations: 112.9 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.606, allocations: 0.9375 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.606, allocations: 105.7 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/0.6062, allocations: 4 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.6064, allocations: 116.6 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.6066, allocations: 0.6958 MB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.6066, allocations: 0 / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.003719/0.6103, allocations: 1.811 MB / 1.107 GB, free: 8.695 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)