Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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/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/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: translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") [: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.005358/0.005358, allocations: 181.6 kB / 7.457 MB, free: 2.16 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6818/0.6818, allocations: 130.6 MB / 138.5 MB, free: 2.207 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.3 MB / 391.4 MB, free: 13.11 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.0008899/0.0008899, allocations: 97.72 kB / 473.5 MB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.868e-06/9.909e-06, allocations: 3.844 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1708, allocations: 81.58 MB / 0.6276 GB, free: 18.24 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4415/0.6124, allocations: 110.7 MB / 0.7357 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.6127, allocations: 74.03 kB / 0.7357 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003372/0.6161, allocations: 0.8003 MB / 0.7365 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.6162, allocations: 3.812 kB / 0.7365 GB, free: 11.18 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.0004625/0.6166, allocations: 338.5 kB / 0.7368 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.6167, allocations: 11.53 kB / 0.7368 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.6167, allocations: 5.438 kB / 0.7368 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.6169, allocations: 168.1 kB / 0.737 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.6169, allocations: 7.906 kB / 0.737 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.6169, allocations: 0 / 0.737 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.306e-05/0.617, allocations: 10.84 kB / 0.737 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.117e-05/0.6171, allocations: 35.75 kB / 0.7371 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.6171, allocations: 6.047 kB / 0.7371 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.6172, allocations: 0 / 0.7371 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6172, allocations: 0 / 0.7371 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.6176, allocations: 256.4 kB / 0.7373 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.215e-05/0.6177, allocations: 23.25 kB / 0.7373 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/0.6177, allocations: 8.734 kB / 0.7373 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.6179, allocations: 86.22 kB / 0.7374 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.6179, allocations: 35.27 kB / 0.7375 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.6179, allocations: 7.469 kB / 0.7375 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002977/0.6182, allocations: 47.38 kB / 0.7375 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.6183, allocations: 55.34 kB / 0.7376 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.6184, allocations: 97.52 kB / 0.7377 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.6184, allocations: 25.7 kB / 0.7377 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.6185, allocations: 85.22 kB / 0.7378 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.6185, allocations: 7.969 kB / 0.7378 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.6185, allocations: 0 / 0.7378 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6186, allocations: 319.3 kB / 0.7381 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.6187, allocations: 7.688 kB / 0.7381 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.6187, allocations: 3.906 kB / 0.7381 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.628e-05/0.6188, allocations: 16.34 kB / 0.7381 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.6188, allocations: 0 / 0.7381 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001304/0.6189, allocations: 55.75 kB / 0.7382 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.6189, allocations: 8.031 kB / 0.7382 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.619, allocations: 0 / 0.7382 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.619, allocations: 0 / 0.7382 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.6191, allocations: 14.77 kB / 0.7382 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.6191, allocations: 3.906 kB / 0.7382 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/0.6192, allocations: 14.38 kB / 0.7382 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.6192, allocations: 3.938 kB / 0.7382 GB, free: 25.49 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.424e-05/0.6193, allocations: 101.5 kB / 0.7383 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.6193, allocations: 2.25 kB / 0.7383 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.6195, allocations: 64.41 kB / 0.7384 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.6195, allocations: 0 / 0.7384 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6195, allocations: 0.7969 kB / 0.7384 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6195, allocations: 0 / 0.7384 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.6197, allocations: 138.3 kB / 0.7385 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.6197, allocations: 3.875 kB / 0.7385 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.6197, allocations: 10.64 kB / 0.7385 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6198, allocations: 0.75 kB / 0.7385 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.6198, allocations: 1.75 kB / 0.7385 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6198, allocations: 3.906 kB / 0.7385 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6198, allocations: 0 / 0.7385 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001883/0.62, allocations: 152.8 kB / 0.7387 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.62, allocations: 89.58 kB / 0.7387 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.6201, allocations: 0.7969 kB / 0.7387 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.6201, allocations: 9.875 kB / 0.7388 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.6202, allocations: 1.5 kB / 0.7388 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.6202, allocations: 32 / 0.7388 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.189e-05/0.6202, allocations: 88.06 kB / 0.7388 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000204/0.6205, allocations: 12.52 kB / 0.7388 GB, free: 24.86 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.0001385/0.6206, allocations: 95.39 kB / 0.7389 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.051e-05/0.6207, allocations: 11.5 kB / 0.739 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6207, allocations: 0 / 0.739 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.345e-05/0.6207, allocations: 15.44 kB / 0.739 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.6209, allocations: 8.828 kB / 0.739 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.6212, allocations: 58.91 kB / 0.739 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.6215, allocations: 0.6926 MB / 0.7397 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.6215, allocations: 3.938 kB / 0.7397 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of Templates: time 0.002527/0.624, allocations: 0.5176 MB / 0.7402 GB, free: 23.94 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)