Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothExponential",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.456/1.456, 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.0009623/0.0009621, allocations: 185.2 kB / 361.1 MB, free: 7.047 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.251/1.251, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0008452/0.0008452, allocations: 87.33 kB / 0.7325 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2314/0.2323, allocations: 121.4 MB / 0.8511 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5621/0.7944, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.9563, allocations: 137.2 MB / 1.098 GB, free: 2.676 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.9566, allocations: 68.81 kB / 1.098 GB, free: 2.609 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004417/0.961, allocations: 1.38 MB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.9611, allocations: 8.5 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.9611, allocations: 8.5 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.9613, allocations: 163.6 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.9613, allocations: 0 / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.9613, allocations: 3.5 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.102e-05/0.9614, allocations: 12.53 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.489e-05/0.9615, allocations: 46.09 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.9615, allocations: 0 / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.9615, allocations: 0.5938 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.9616, allocations: 1.906 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.962, allocations: 248.6 kB / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.895e-05/0.9621, allocations: 27.52 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.9621, allocations: 9.641 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.9622, allocations: 81.11 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.9623, allocations: 32.78 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.9623, allocations: 0.7188 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001975/0.9625, allocations: 45.62 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.9625, allocations: 56.09 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.876e-05/0.9626, allocations: 95.34 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.9626, allocations: 25.7 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.9627, allocations: 81.05 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.9627, allocations: 7.906 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.9627, allocations: 0.8438 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.9629, allocations: 319.4 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.9629, allocations: 3.094 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.513e-05/0.9629, allocations: 8.594 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.127e-05/0.963, allocations: 8.562 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.963, allocations: 7.781 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.12e-05/0.9631, allocations: 45.8 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.9631, allocations: 7.938 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.9631, allocations: 3.984 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.9631, allocations: 0 / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.521e-05/0.9632, allocations: 12 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.9632, allocations: 0 / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.9633, allocations: 12.02 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.9633, allocations: 4 kB / 1.101 GB, free: 15.73 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.606e-05/0.9634, allocations: 104.9 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.9634, allocations: 1.172 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.9635, allocations: 56.2 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.9636, allocations: 0 / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.9636, allocations: 3.906 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9636, allocations: 4.031 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.9637, allocations: 140 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9637, allocations: 0 / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.9638, allocations: 15.98 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.9638, allocations: 7.938 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.9638, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.9638, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9638, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001172/0.9639, allocations: 139.5 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002131/0.9642, allocations: 0.5077 MB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.9642, allocations: 77.11 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.9642, allocations: 3.984 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.975e-05/0.9643, allocations: 12.91 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.9644, allocations: 5.781 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.9644, allocations: 11.92 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.517e-05/0.9644, allocations: 75.28 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007904/0.9652, allocations: 23.94 kB / 1.102 GB, free: 14.45 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.000187/0.9654, allocations: 115 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.42e-05/0.9655, allocations: 15.98 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9655, allocations: 0 / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.03e-05/0.9655, allocations: 4 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.9657, allocations: 7.094 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.966, allocations: 64.61 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.9663, allocations: 0.6937 MB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.9663, allocations: 4.125 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)