Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMin,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin",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.543/1.543, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001508/0.001508, allocations: 181.3 kB / 366.3 MB, free: 2.02 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.581/1.581, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0009556/0.0009555, allocations: 99.02 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2972/0.2982, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6886/0.9868, allocations: 116.3 MB / 0.9726 GB, free: 68.05 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/1.178, allocations: 138.3 MB / 1.108 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/1.179, allocations: 71.97 kB / 1.108 GB, free: 10.08 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.003859/1.183, allocations: 1.204 MB / 1.109 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.183, allocations: 8 kB / 1.109 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008874/1.184, allocations: 171.8 kB / 1.109 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/1.184, allocations: 163 kB / 1.109 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/1.184, allocations: 4 kB / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/1.184, allocations: 0 / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002373/1.184, allocations: 123.9 kB / 1.109 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/1.184, allocations: 122.5 kB / 1.11 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/1.184, allocations: 0 / 1.11 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/1.184, allocations: 0 / 1.11 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.184, allocations: 0 / 1.11 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/1.185, allocations: 442.9 kB / 1.11 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/1.186, allocations: 166.5 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/1.186, allocations: 56.92 kB / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/1.186, allocations: 0 / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/1.186, allocations: 30.56 kB / 1.11 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/1.186, allocations: 4 kB / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002724/1.186, allocations: 109.5 kB / 1.11 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.186, allocations: 51.41 kB / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/1.186, allocations: 101 kB / 1.11 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/1.186, allocations: 25.7 kB / 1.11 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/1.186, allocations: 88.14 kB / 1.111 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/1.186, allocations: 11.8 kB / 1.111 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/1.186, allocations: 0 / 1.111 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.618e-05/1.186, allocations: 318.8 kB / 1.111 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/1.187, allocations: 51.91 kB / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/1.187, allocations: 47.91 kB / 1.111 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.761e-05/1.187, allocations: 36.09 kB / 1.111 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.187, allocations: 0 / 1.111 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001741/1.187, allocations: 110.9 kB / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.187, allocations: 8 kB / 1.111 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.187, allocations: 0 / 1.111 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/1.187, allocations: 0 / 1.111 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/1.187, allocations: 43.95 kB / 1.111 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/1.187, allocations: 0 / 1.111 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/1.187, allocations: 47.89 kB / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/1.188, allocations: 8 kB / 1.111 GB, free: 6.398 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 (3): * Single equations (assignments): 3 * 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.181e-05/1.188, allocations: 101 kB / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/1.188, allocations: 3.906 kB / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.27e-05/1.188, allocations: 11.98 kB / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/1.188, allocations: 0 / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.188, allocations: 0 / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.188, allocations: 4 kB / 1.111 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/1.188, allocations: 199.3 kB / 1.112 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/1.188, allocations: 0 / 1.112 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/1.188, allocations: 47.94 kB / 1.112 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/1.188, allocations: 0 / 1.112 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.188, allocations: 0 / 1.112 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/1.188, allocations: 0 / 1.112 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.188, allocations: 0 / 1.112 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002491/1.189, allocations: 207.4 kB / 1.112 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003201/1.189, allocations: 0.5843 MB / 1.112 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/1.189, allocations: 81.02 kB / 1.112 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/1.189, allocations: 0 / 1.112 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/1.189, allocations: 43.95 kB / 1.112 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/1.189, allocations: 3.984 kB / 1.112 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/1.189, allocations: 4 kB / 1.112 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-05/1.189, allocations: 84.97 kB / 1.113 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008345/1.19, allocations: 12 kB / 1.113 GB, free: 4.922 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 (3): * Single equations (assignments): 3 * 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.000123/1.19, allocations: 99.25 kB / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001882/1.191, allocations: 103.9 kB / 1.113 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.191, allocations: 0 / 1.113 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/1.191, allocations: 47.97 kB / 1.113 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/1.191, allocations: 3.906 kB / 1.113 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007112/1.192, allocations: 203.5 kB / 1.113 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/1.192, allocations: 0.7032 MB / 1.114 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of SimCode: time 3.1e-07/1.192, allocations: 0 / 1.114 GB, free: 3.715 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)