Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",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.003293/0.003293, allocations: 180.1 kB / 7.458 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7491/0.7491, 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.503/1.503, allocations: 221.3 MB / 395 MB, free: 10.21 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.0009743/0.0009744, allocations: 98.97 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5288/0.5298, allocations: 88.43 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.7392, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6233/1.363, allocations: 111.2 MB / 0.7419 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/1.363, allocations: 70.97 kB / 0.742 GB, free: 10.78 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004492/1.367, allocations: 1.453 MB / 0.7434 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/1.367, allocations: 11.72 kB / 0.7434 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/1.367, allocations: 4 kB / 0.7434 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/1.368, allocations: 168.4 kB / 0.7436 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/1.368, allocations: 0.875 kB / 0.7436 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/1.368, allocations: 0 / 0.7436 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.689e-05/1.368, allocations: 16.16 kB / 0.7436 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.948e-05/1.368, allocations: 35.88 kB / 0.7437 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/1.368, allocations: 0 / 0.7437 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/1.368, allocations: 0 / 0.7437 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.368, allocations: 0 / 0.7437 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/1.368, allocations: 241.4 kB / 0.7439 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.991e-05/1.368, allocations: 27.69 kB / 0.7439 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/1.368, allocations: 12.23 kB / 0.7439 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007586/1.369, allocations: 473.1 kB / 0.7444 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/1.369, allocations: 38.31 kB / 0.7444 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.369, allocations: 0 / 0.7444 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0004457/1.37, allocations: 88.19 kB / 0.7445 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/1.37, allocations: 56.25 kB / 0.7446 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.068e-05/1.37, allocations: 98.66 kB / 0.7446 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/1.37, allocations: 25.7 kB / 0.7447 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/1.37, allocations: 81.45 kB / 0.7447 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/1.37, allocations: 3.906 kB / 0.7448 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/1.37, allocations: 0 / 0.7448 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.37, allocations: 319.8 kB / 0.7451 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/1.37, allocations: 5.812 kB / 0.7451 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/1.37, allocations: 7.156 kB / 0.7451 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/1.37, allocations: 45.69 kB / 0.7451 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/1.37, allocations: 4.062 kB / 0.7451 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002689/1.371, allocations: 93.42 kB / 0.7452 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.371, allocations: 7.656 kB / 0.7452 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.371, allocations: 1.406 kB / 0.7452 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/1.371, allocations: 4.031 kB / 0.7452 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/1.371, allocations: 7.172 kB / 0.7452 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/1.371, allocations: 0 / 0.7452 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.492e-05/1.371, allocations: 9.359 kB / 0.7452 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/1.371, allocations: 0 / 0.7452 GB, free: 24.65 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 (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.515e-05/1.371, allocations: 108.7 kB / 0.7453 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/1.371, allocations: 1.547 kB / 0.7453 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/1.371, allocations: 94.86 kB / 0.7454 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/1.371, allocations: 0 / 0.7454 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.371, allocations: 11.72 kB / 0.7454 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/1.371, allocations: 0 / 0.7454 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/1.372, allocations: 142.8 kB / 0.7456 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.372, allocations: 2.5 kB / 0.7456 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/1.372, allocations: 8.953 kB / 0.7456 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/1.372, allocations: 1.406 kB / 0.7456 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/1.372, allocations: 0 / 0.7456 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.372, allocations: 320 / 0.7456 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.372, allocations: 0 / 0.7456 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003588/1.372, allocations: 187.7 kB / 0.7458 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003756/1.372, allocations: 0.5506 MB / 0.7463 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/1.372, allocations: 84.86 kB / 0.7464 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/1.372, allocations: 0.7969 kB / 0.7464 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/1.373, allocations: 5.25 kB / 0.7464 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/1.373, allocations: 5.188 kB / 0.7464 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/1.373, allocations: 0 / 0.7464 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.942e-05/1.373, allocations: 88.17 kB / 0.7465 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008301/1.374, allocations: 24.73 kB / 0.7465 GB, free: 23.49 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 (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.0001915/1.374, allocations: 117.5 kB / 0.7466 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.671e-05/1.374, allocations: 16 kB / 0.7466 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/1.374, allocations: 0 / 0.7466 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.976e-05/1.374, allocations: 13.31 kB / 0.7466 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/1.374, allocations: 7.844 kB / 0.7467 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/1.374, allocations: 67.38 kB / 0.7467 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004014/1.375, allocations: 0.6961 MB / 0.7474 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/1.375, allocations: 0 / 0.7474 GB, free: 22.61 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)