Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.001725/0.001725, allocations: 173.3 kB / 366.3 MB, free: 2.012 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.647/1.647, allocations: 205.1 MB / 0.6256 GB, free: 7.473 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.000997/0.0009968, allocations: 95.03 kB / 0.7396 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3142/0.3152, allocations: 122.4 MB / 0.8591 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7345/1.05, allocations: 116.3 MB / 0.9726 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2197/1.27, allocations: 138.2 MB / 1.108 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.27, allocations: 73.11 kB / 1.108 GB, free: 12.18 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.005022/1.275, allocations: 1.368 MB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/1.275, allocations: 8.75 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/1.275, allocations: 8.484 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/1.275, allocations: 171 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/1.275, allocations: 3.234 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/1.275, allocations: 0.5 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001099/1.276, allocations: 12.56 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/1.276, allocations: 42.38 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.276, allocations: 0 / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/1.276, allocations: 1.625 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/1.276, allocations: 0 / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006254/1.276, allocations: 250.4 kB / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.78e-05/1.276, allocations: 30.95 kB / 1.11 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/1.276, allocations: 9.734 kB / 1.11 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/1.277, allocations: 85.73 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/1.277, allocations: 31.47 kB / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.705e-06/1.277, allocations: 0 / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003617/1.277, allocations: 38.48 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/1.277, allocations: 52.16 kB / 1.11 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/1.277, allocations: 101.9 kB / 1.11 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/1.277, allocations: 25.7 kB / 1.11 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/1.277, allocations: 82.02 kB / 1.11 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/1.277, allocations: 3.906 kB / 1.11 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/1.277, allocations: 0 / 1.11 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.278, allocations: 319.8 kB / 1.11 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/1.278, allocations: 6.531 kB / 1.11 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.686e-05/1.278, allocations: 8.5 kB / 1.11 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.207e-05/1.278, allocations: 12.92 kB / 1.11 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.278, allocations: 3.938 kB / 1.11 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.625e-05/1.278, allocations: 43.83 kB / 1.11 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/1.278, allocations: 8.125 kB / 1.11 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.278, allocations: 0 / 1.11 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/1.278, allocations: 0 / 1.11 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/1.278, allocations: 12.73 kB / 1.11 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/1.278, allocations: 0 / 1.11 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.178e-05/1.278, allocations: 15.98 kB / 1.11 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/1.278, allocations: 0 / 1.11 GB, free: 9.293 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 8.067e-05/1.278, allocations: 108.9 kB / 1.11 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/1.278, allocations: 0 / 1.11 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/1.278, allocations: 50.58 kB / 1.11 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.278, allocations: 4 kB / 1.11 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.278, allocations: 5.719 kB / 1.111 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/1.278, allocations: 0 / 1.111 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/1.279, allocations: 138.2 kB / 1.111 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.279, allocations: 4.031 kB / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.851e-05/1.279, allocations: 11.98 kB / 1.111 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.279, allocations: 0.5625 kB / 1.111 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/1.279, allocations: 4 kB / 1.111 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.279, allocations: 0 / 1.111 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.279, allocations: 0 / 1.111 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001521/1.279, allocations: 147.5 kB / 1.111 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002702/1.279, allocations: 0.5115 MB / 1.111 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/1.279, allocations: 78.05 kB / 1.111 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/1.279, allocations: 0 / 1.111 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/1.279, allocations: 17.67 kB / 1.111 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/1.279, allocations: 3.906 kB / 1.111 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/1.279, allocations: 0 / 1.111 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.366e-05/1.279, allocations: 79.28 kB / 1.111 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007881/1.28, allocations: 19.92 kB / 1.111 GB, free: 8.02 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.0002545/1.28, allocations: 111.2 kB / 1.112 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001571/1.281, allocations: 16 kB / 1.112 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.281, allocations: 3.938 kB / 1.112 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.49e-05/1.281, allocations: 4.938 kB / 1.112 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/1.281, allocations: 4 kB / 1.112 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/1.281, allocations: 65.48 kB / 1.112 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/1.281, allocations: 0.688 MB / 1.112 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/1.281, allocations: 0 / 1.112 GB, free: 7.074 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)