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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.413/1.413, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001057/0.001057, allocations: 177.3 kB / 361.1 MB, free: 7.094 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.203/1.203, allocations: 205.1 MB / 0.6195 GB, free: 11.94 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.0008382/0.0008383, allocations: 87.47 kB / 0.7325 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2264/0.2273, allocations: 121.5 MB / 0.8512 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.7627, allocations: 115.3 MB / 0.9638 GB, free: 77.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.9219, allocations: 138.2 MB / 1.099 GB, free: 1.855 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.9223, allocations: 80.66 kB / 1.099 GB, free: 1.777 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.01153/0.9338, allocations: 3.597 MB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.9339, allocations: 8 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.9339, allocations: 4.609 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.9341, allocations: 176.9 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.9341, allocations: 0 / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.9342, allocations: 9.625 kB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000102/0.9343, allocations: 23.98 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.9344, allocations: 69.59 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.9344, allocations: 0.7031 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.9344, allocations: 4 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.9344, allocations: 0 / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.9346, allocations: 142.1 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.426e-05/0.9347, allocations: 46.56 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.045e-05/0.9347, allocations: 44.86 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.9347, allocations: 0.6094 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.9348, allocations: 38.56 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.9348, allocations: 0 / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003174/0.9351, allocations: 109.5 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.9352, allocations: 77.11 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/0.9352, allocations: 105 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.9353, allocations: 25.7 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.9353, allocations: 84.14 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.9353, allocations: 25.89 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.9354, allocations: 8.031 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.9355, allocations: 314.8 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.521e-05/0.9355, allocations: 27.97 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.678e-05/0.9356, allocations: 19.98 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.9357, allocations: 41.44 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.9357, allocations: 3.906 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002547/0.936, allocations: 105.8 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.936, allocations: 4 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.936, allocations: 0 / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.936, allocations: 64 / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.9361, allocations: 4 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.9361, allocations: 3.906 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.792e-05/0.9361, allocations: 4.562 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.9362, allocations: 17.48 kB / 1.104 GB, free: 12.54 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.000115/0.9363, allocations: 134.7 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.9363, allocations: 7.906 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.935e-05/0.9363, allocations: 12.36 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.9363, allocations: 0 / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.9363, allocations: 3.938 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.9364, allocations: 4.703 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.9365, allocations: 150.1 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9365, allocations: 0 / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-06/0.9365, allocations: 0 / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.9365, allocations: 0.6562 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.9365, allocations: 7.984 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.9365, allocations: 0 / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.9365, allocations: 1.812 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003401/0.9369, allocations: 154.5 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000365/0.9373, allocations: 0.5208 MB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.9373, allocations: 81.02 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.9374, allocations: 6.484 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.794e-05/0.9374, allocations: 0 / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.9374, allocations: 7.906 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.9374, allocations: 11.98 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.468e-05/0.9375, allocations: 93.45 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009072/0.9384, allocations: 83.92 kB / 1.105 GB, free: 11.17 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.0004626/0.9389, allocations: 174.9 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001622/0.9391, allocations: 109.7 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.9391, allocations: 4 kB / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.557e-05/0.9392, allocations: 105.6 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.9393, allocations: 5.484 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.9395, allocations: 116.7 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.9398, allocations: 0.6996 MB / 1.106 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9398, allocations: 0 / 1.106 GB, free: 9.895 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)