Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001669/0.001669, allocations: 176 kB / 7.46 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5986/0.5986, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.138/1.138, allocations: 221.3 MB / 395 MB, free: 10.2 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.0008609/0.0008608, allocations: 101.6 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.813e-06/6.833e-06, allocations: 2.312 kB / 0.5528 GB, free: 89.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3331/0.4529, allocations: 110.9 MB / 0.7415 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001474/0.4531, allocations: 72.55 kB / 0.7416 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.002497/0.4556, allocations: 0.8052 MB / 0.7424 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.4556, allocations: 0 / 0.7424 GB, free: 10.6 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.0002913/0.4559, allocations: 339 kB / 0.7427 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.4559, allocations: 7.844 kB / 0.7427 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.456, allocations: 7.75 kB / 0.7427 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.4561, allocations: 159.1 kB / 0.7429 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.4561, allocations: 5.906 kB / 0.7429 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.4561, allocations: 0 / 0.7429 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.164e-05/0.4562, allocations: 15.56 kB / 0.7429 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.68e-05/0.4562, allocations: 41.2 kB / 0.7429 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.4562, allocations: 0 / 0.7429 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.4563, allocations: 0 / 0.7429 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.4563, allocations: 4.344 kB / 0.7429 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.4566, allocations: 247.5 kB / 0.7432 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.187e-05/0.4566, allocations: 27.41 kB / 0.7432 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.4567, allocations: 13.62 kB / 0.7432 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.4568, allocations: 78.66 kB / 0.7433 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.4568, allocations: 41.72 kB / 0.7433 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4568, allocations: 0 / 0.7433 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002139/0.457, allocations: 51.62 kB / 0.7434 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.4571, allocations: 51.41 kB / 0.7434 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.173e-05/0.4571, allocations: 98.98 kB / 0.7435 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.4572, allocations: 26.97 kB / 0.7436 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/0.4572, allocations: 87.98 kB / 0.7436 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.2e-05/0.4572, allocations: 5.25 kB / 0.7436 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.4572, allocations: 0 / 0.7436 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4573, allocations: 319.4 kB / 0.744 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/0.4574, allocations: 7.906 kB / 0.744 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.4574, allocations: 7.531 kB / 0.744 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.755e-05/0.4575, allocations: 16.27 kB / 0.744 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.4575, allocations: 0 / 0.744 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001248/0.4576, allocations: 54.39 kB / 0.744 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.143e-06/0.4576, allocations: 3.844 kB / 0.744 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.4576, allocations: 0 / 0.744 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.4576, allocations: 1.312 kB / 0.744 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.4577, allocations: 18.44 kB / 0.7441 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.4577, allocations: 7.891 kB / 0.7441 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.4578, allocations: 10.78 kB / 0.7441 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.4578, allocations: 0 / 0.7441 GB, free: 24.92 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 5.205e-05/0.4579, allocations: 101 kB / 0.7442 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.4579, allocations: 7.812 kB / 0.7442 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.458, allocations: 62.81 kB / 0.7442 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.458, allocations: 0 / 0.7442 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.4581, allocations: 3.938 kB / 0.7442 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4581, allocations: 1.406 kB / 0.7442 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.4582, allocations: 137.5 kB / 0.7444 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.4582, allocations: 0 / 0.7444 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.373e-05/0.4583, allocations: 15.95 kB / 0.7444 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.4583, allocations: 0 / 0.7444 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.4583, allocations: 0 / 0.7444 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.4583, allocations: 7.875 kB / 0.7444 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4583, allocations: 0 / 0.7444 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001455/0.4584, allocations: 145.8 kB / 0.7445 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.4585, allocations: 85 kB / 0.7446 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.4585, allocations: 1.5 kB / 0.7446 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.342e-05/0.4586, allocations: 13.31 kB / 0.7446 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.4586, allocations: 1.547 kB / 0.7446 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.4586, allocations: 8.812 kB / 0.7446 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.029e-05/0.4587, allocations: 80.75 kB / 0.7447 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001976/0.4589, allocations: 15.59 kB / 0.7447 GB, free: 24.28 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.0001135/0.459, allocations: 110.2 kB / 0.7448 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.438e-05/0.4591, allocations: 11.22 kB / 0.7448 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.4591, allocations: 0 / 0.7448 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.711e-05/0.4591, allocations: 3.844 kB / 0.7449 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.4592, allocations: 15.5 kB / 0.7449 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001557/0.4594, allocations: 55.77 kB / 0.7449 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.4596, allocations: 0.6926 MB / 0.7456 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.4596, allocations: 4.125 kB / 0.7456 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.001855/0.4615, allocations: 0.5161 MB / 0.7461 GB, free: 23.35 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)