Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.002932/0.002932, allocations: 178.3 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6653/0.6653, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 221.3 MB / 395 MB, free: 10.16 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001058, allocations: 95.91 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4819/0.483, allocations: 88.43 MB / 0.5529 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.7249, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.633/1.358, allocations: 110.7 MB / 0.7414 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/1.358, allocations: 70.53 kB / 0.7415 GB, free: 10.79 MB / 0.4948 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.003828/1.362, allocations: 1.201 MB / 0.7426 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/1.362, allocations: 7.594 kB / 0.7427 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008444/1.363, allocations: 176.3 kB / 0.7428 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/1.363, allocations: 167 kB / 0.743 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/1.363, allocations: 0.8438 kB / 0.743 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/1.363, allocations: 7.781 kB / 0.743 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002544/1.364, allocations: 120 kB / 0.7431 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/1.364, allocations: 112.5 kB / 0.7432 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.364, allocations: 5.438 kB / 0.7432 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/1.364, allocations: 3.906 kB / 0.7432 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.364, allocations: 0 / 0.7432 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009495/1.365, allocations: 438.7 kB / 0.7436 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/1.365, allocations: 166.3 kB / 0.7438 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/1.365, allocations: 53.58 kB / 0.7438 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/1.365, allocations: 3.812 kB / 0.7438 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/1.365, allocations: 36 kB / 0.7439 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/1.365, allocations: 0.875 kB / 0.7439 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002546/1.366, allocations: 108.1 kB / 0.744 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/1.366, allocations: 55.34 kB / 0.744 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/1.366, allocations: 101.8 kB / 0.7441 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/1.366, allocations: 30.97 kB / 0.7442 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/1.366, allocations: 89.3 kB / 0.7443 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/1.366, allocations: 7.094 kB / 0.7443 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-06/1.366, allocations: 3.938 kB / 0.7443 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.366, allocations: 317.1 kB / 0.7446 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/1.366, allocations: 45.27 kB / 0.7446 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-05/1.366, allocations: 44.12 kB / 0.7447 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.808e-05/1.366, allocations: 32.19 kB / 0.7447 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.366, allocations: 0 / 0.7447 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001615/1.367, allocations: 117.6 kB / 0.7448 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/1.367, allocations: 5.656 kB / 0.7448 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.367, allocations: 0 / 0.7448 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/1.367, allocations: 0 / 0.7448 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/1.367, allocations: 47.55 kB / 0.7448 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/1.367, allocations: 0 / 0.7448 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/1.367, allocations: 45.95 kB / 0.7449 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/1.367, allocations: 7.812 kB / 0.7449 GB, free: 25.11 MB / 0.5105 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.766e-05/1.367, allocations: 105.9 kB / 0.745 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/1.367, allocations: 0 / 0.745 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/1.367, allocations: 13.23 kB / 0.745 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/1.367, allocations: 3.5 kB / 0.745 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.367, allocations: 2.062 kB / 0.745 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.367, allocations: 3.906 kB / 0.745 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/1.367, allocations: 185.4 kB / 0.7452 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.368, allocations: 0 / 0.7452 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/1.368, allocations: 52.95 kB / 0.7452 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.368, allocations: 0 / 0.7452 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/1.368, allocations: 0 / 0.7452 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.368, allocations: 0 / 0.7452 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.368, allocations: 4 kB / 0.7452 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002334/1.368, allocations: 205.7 kB / 0.7454 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003372/1.368, allocations: 0.5828 MB / 0.746 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/1.368, allocations: 81.81 kB / 0.7461 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/1.368, allocations: 0.7031 kB / 0.7461 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/1.369, allocations: 41.45 kB / 0.7461 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/1.369, allocations: 13.77 kB / 0.7461 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/1.369, allocations: 0.6094 kB / 0.7461 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.317e-05/1.369, allocations: 88.22 kB / 0.7462 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007696/1.37, allocations: 16 kB / 0.7462 GB, free: 23.98 MB / 0.5105 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.000137/1.37, allocations: 98.23 kB / 0.7463 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002331/1.37, allocations: 96 kB / 0.7464 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.37, allocations: 0 / 0.7464 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.429e-05/1.37, allocations: 53.2 kB / 0.7465 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/1.37, allocations: 4 kB / 0.7465 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/1.371, allocations: 197 kB / 0.7467 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/1.371, allocations: 0.7045 MB / 0.7474 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/1.371, allocations: 0 / 0.7474 GB, free: 23.11 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)