Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.281/1.281, allocations: 249.4 MB / 256.7 MB, free: 7.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001064, allocations: 184.3 kB / 316 MB, free: 3.574 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.142/1.142, allocations: 205.2 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008406/0.0008406, allocations: 90.45 kB / 0.671 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3191/0.3199, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.4808, allocations: 106.3 MB / 0.8847 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4801/0.961, allocations: 132.1 MB / 1.014 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.9612, allocations: 65.47 kB / 1.014 GB, free: 6.43 MB / 0.6355 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.003499/0.9647, allocations: 1.195 MB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.9648, allocations: 8 kB / 1.015 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008257/0.9656, allocations: 175.7 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.817e-05/0.9657, allocations: 163.9 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.9658, allocations: 4 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.9658, allocations: 3.906 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002404/0.966, allocations: 131.4 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.9662, allocations: 111.4 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.9662, allocations: 3.984 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.9662, allocations: 0 / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.9662, allocations: 0 / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008958/0.9671, allocations: 447.7 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.9675, allocations: 172.2 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.936e-05/0.9676, allocations: 51.55 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.9677, allocations: 0 / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.9677, allocations: 36.86 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.9677, allocations: 0 / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002467/0.9679, allocations: 106.5 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.968, allocations: 51.41 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.829e-05/0.968, allocations: 108.4 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.9681, allocations: 25.7 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.9681, allocations: 88.05 kB / 1.017 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.9681, allocations: 15.39 kB / 1.017 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.9682, allocations: 0 / 1.017 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.9683, allocations: 314.8 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-05/0.9683, allocations: 45.97 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.939e-05/0.9684, allocations: 40.84 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.614e-05/0.9685, allocations: 38.62 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9685, allocations: 4 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001741/0.9687, allocations: 107.2 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.9687, allocations: 4 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.9687, allocations: 0 / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.9687, allocations: 4 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.969, allocations: 47.52 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.969, allocations: 0 / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.9692, allocations: 48.45 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.9693, allocations: 0 / 1.017 GB, free: 3.074 MB / 0.6355 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 7.377e-05/0.9693, allocations: 105 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.9694, allocations: 7.844 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.398e-05/0.9694, allocations: 23.73 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.9694, allocations: 0 / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.9695, allocations: 0 / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.9695, allocations: 3.938 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.9697, allocations: 183.1 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.9697, allocations: 4 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.9699, allocations: 47.94 kB / 1.018 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.9699, allocations: 0 / 1.018 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.9699, allocations: 3.906 kB / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.97, allocations: 4 kB / 1.018 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.97, allocations: 0 / 1.018 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002106/0.9702, allocations: 212.7 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002903/0.9705, allocations: 0.574 MB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.9705, allocations: 81.02 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.9705, allocations: 4 kB / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.9708, allocations: 39.95 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.9708, allocations: 7.984 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.9708, allocations: 0.875 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.972e-05/0.9709, allocations: 93.27 kB / 1.019 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007782/0.9717, allocations: 15.91 kB / 1.019 GB, free: 1.648 MB / 0.6355 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.0001077/0.9718, allocations: 95.25 kB / 1.019 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.972, allocations: 94.48 kB / 1.019 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.972, allocations: 4 kB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.661e-05/0.9721, allocations: 53.91 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.9722, allocations: 4 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006449/0.9729, allocations: 185.1 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.9732, allocations: 0.7032 MB / 1.02 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of SimCode: time 2.8e-07/0.9732, allocations: 4 kB / 1.02 GB, free: 0.5156 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)