Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.564/2.564, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001653/0.001653, allocations: 173.3 kB / 360.3 MB, free: 7.539 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.815/1.815, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.002167/0.002167, allocations: 82.92 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2994/0.3016, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6157/0.9174, allocations: 115.2 MB / 0.9628 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2281/1.146, allocations: 138 MB / 1.098 GB, free: 2.82 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/1.146, allocations: 87.97 kB / 1.098 GB, free: 2.738 MB / 0.698 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.0194/1.165, allocations: 3.59 MB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.165, allocations: 12 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/1.165, allocations: 1.562 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/1.166, allocations: 171.5 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/1.166, allocations: 3.938 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/1.166, allocations: 4 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001245/1.166, allocations: 27.97 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/1.166, allocations: 65.33 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/1.166, allocations: 8.562 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/1.166, allocations: 0 / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/1.166, allocations: 0 / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/1.166, allocations: 138.1 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/1.166, allocations: 62.52 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.859e-05/1.167, allocations: 37.36 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-06/1.167, allocations: 0 / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/1.167, allocations: 38.55 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/1.167, allocations: 0 / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004727/1.167, allocations: 105.5 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/1.167, allocations: 81.11 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.498e-05/1.167, allocations: 101 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/1.167, allocations: 29.7 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/1.167, allocations: 84.14 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/1.167, allocations: 23.64 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-06/1.167, allocations: 0 / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.168, allocations: 325 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-05/1.168, allocations: 27.97 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-05/1.168, allocations: 28.08 kB / 1.102 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/1.168, allocations: 35.95 kB / 1.102 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.168, allocations: 3.906 kB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003782/1.168, allocations: 101.6 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.168, allocations: 4 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/1.168, allocations: 0 / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/1.168, allocations: 4.609 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.485e-06/1.169, allocations: 5.812 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/1.169, allocations: 3.906 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.155e-05/1.169, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/1.169, allocations: 12 kB / 1.103 GB, free: 13.51 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.0001236/1.169, allocations: 139.1 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/1.169, allocations: 11.91 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/1.169, allocations: 4.375 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.169, allocations: 4.547 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.169, allocations: 0 / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.169, allocations: 4 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/1.169, allocations: 154 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.169, allocations: 0 / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/1.169, allocations: 0 / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.169, allocations: 0 / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/1.169, allocations: 7.281 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/1.169, allocations: 9.5 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.169, allocations: 0 / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004432/1.17, allocations: 145 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005884/1.17, allocations: 0.5229 MB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/1.17, allocations: 81.02 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/1.17, allocations: 7.984 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.975e-05/1.17, allocations: 4 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/1.17, allocations: 3.906 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/1.17, allocations: 8 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.332e-05/1.171, allocations: 99.28 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001351/1.172, allocations: 87.86 kB / 1.104 GB, free: 12.14 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.0005253/1.172, allocations: 167.1 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002773/1.173, allocations: 113.7 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.173, allocations: 0 / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/1.173, allocations: 101.7 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/1.173, allocations: 5.562 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/1.173, allocations: 116.7 kB / 1.104 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/1.174, allocations: 0.7035 MB / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/1.174, allocations: 0 / 1.105 GB, free: 10.87 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)