Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7273/0.7273, allocations: 141.8 MB / 149.1 MB, free: 13.51 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 181.5 kB / 181.9 MB, free: 10.16 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 221.4 MB / 436 MB, free: 2.652 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009527/0.0009527, allocations: 96.59 kB / 0.507 GB, free: 17.7 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001877/0.001877, allocations: 272.6 kB / 0.5884 GB, free: 4.176 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.108e-05/1.11e-05, allocations: 2.594 kB / 0.6759 GB, free: 136.6 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.18, allocations: 82.78 MB / 0.7567 GB, free: 83.84 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.3142, allocations: 108.6 MB / 0.8628 GB, free: 7.105 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.3146, allocations: 71.95 kB / 0.8628 GB, free: 7.035 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.004457/0.319, allocations: 1.109 MB / 0.8639 GB, free: 5.926 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.3191, allocations: 0 / 0.8639 GB, free: 5.926 MB / 0.5419 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.0003612/0.3195, allocations: 348.4 kB / 0.8642 GB, free: 5.543 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3195, allocations: 9.031 kB / 0.8643 GB, free: 5.535 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.3196, allocations: 7.906 kB / 0.8643 GB, free: 5.527 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.3198, allocations: 167 kB / 0.8644 GB, free: 5.324 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.3198, allocations: 3.906 kB / 0.8644 GB, free: 5.32 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.3198, allocations: 4 kB / 0.8644 GB, free: 5.316 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.11e-05/0.3199, allocations: 8 kB / 0.8644 GB, free: 5.309 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.73e-05/0.32, allocations: 45.62 kB / 0.8645 GB, free: 5.258 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.32, allocations: 0 / 0.8645 GB, free: 5.258 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.32, allocations: 4 kB / 0.8645 GB, free: 5.254 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.32, allocations: 0 / 0.8645 GB, free: 5.254 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.3204, allocations: 233.4 kB / 0.8647 GB, free: 4.988 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.6e-05/0.3205, allocations: 26.58 kB / 0.8647 GB, free: 4.953 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.3205, allocations: 16.92 kB / 0.8647 GB, free: 4.934 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007655/0.3213, allocations: 469.5 kB / 0.8652 GB, free: 4.383 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.3213, allocations: 30.56 kB / 0.8652 GB, free: 4.344 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3213, allocations: 0 / 0.8652 GB, free: 4.344 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.000368/0.3217, allocations: 89.64 kB / 0.8653 GB, free: 4.25 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.3218, allocations: 55.31 kB / 0.8654 GB, free: 4.184 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.552e-05/0.3219, allocations: 101 kB / 0.8655 GB, free: 4.078 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3219, allocations: 33.67 kB / 0.8655 GB, free: 4.039 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.3219, allocations: 84.12 kB / 0.8656 GB, free: 3.953 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.3219, allocations: 7.906 kB / 0.8656 GB, free: 3.945 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-06/0.322, allocations: 4 kB / 0.8656 GB, free: 3.941 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3221, allocations: 310.8 kB / 0.8659 GB, free: 3.629 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.3221, allocations: 8 kB / 0.8659 GB, free: 3.621 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.114e-05/0.3221, allocations: 0 / 0.8659 GB, free: 3.621 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.3223, allocations: 52 kB / 0.8659 GB, free: 3.57 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3223, allocations: 0 / 0.8659 GB, free: 3.57 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002506/0.3226, allocations: 85.66 kB / 0.866 GB, free: 3.48 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3226, allocations: 7.906 kB / 0.866 GB, free: 3.473 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3226, allocations: 0 / 0.866 GB, free: 3.473 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3227, allocations: 3.984 kB / 0.866 GB, free: 3.469 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.3227, allocations: 11.98 kB / 0.866 GB, free: 3.457 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.3228, allocations: 0 / 0.866 GB, free: 3.457 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.572e-05/0.3228, allocations: 8.031 kB / 0.866 GB, free: 3.449 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.3228, allocations: 0 / 0.866 GB, free: 3.449 MB / 0.5419 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 6.933e-05/0.3229, allocations: 101 kB / 0.8661 GB, free: 3.344 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.3229, allocations: 11.84 kB / 0.8662 GB, free: 3.332 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.3232, allocations: 101.5 kB / 0.8662 GB, free: 3.227 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3233, allocations: 0 / 0.8662 GB, free: 3.227 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3233, allocations: 4 kB / 0.8663 GB, free: 3.223 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3233, allocations: 0 / 0.8663 GB, free: 3.223 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.3234, allocations: 138.1 kB / 0.8664 GB, free: 3.051 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3234, allocations: 0 / 0.8664 GB, free: 3.051 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.3235, allocations: 11.98 kB / 0.8664 GB, free: 3.039 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3235, allocations: 0 / 0.8664 GB, free: 3.039 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.3235, allocations: 4.031 kB / 0.8664 GB, free: 3.035 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3235, allocations: 4 kB / 0.8664 GB, free: 3.031 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3235, allocations: 3.938 kB / 0.8664 GB, free: 3.027 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003493/0.3239, allocations: 191.3 kB / 0.8666 GB, free: 2.824 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.3239, allocations: 77.11 kB / 0.8667 GB, free: 2.73 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.324, allocations: 0 / 0.8667 GB, free: 2.73 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.324, allocations: 7.906 kB / 0.8667 GB, free: 2.723 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.3241, allocations: 3.984 kB / 0.8667 GB, free: 2.719 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3241, allocations: 4 kB / 0.8667 GB, free: 2.715 MB / 0.5419 GB Notification: Performance of sort global known variables: time 4.061e-05/0.3241, allocations: 83.28 kB / 0.8668 GB, free: 2.633 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000234/0.3244, allocations: 19.97 kB / 0.8668 GB, free: 2.613 MB / 0.5419 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.0001843/0.3246, allocations: 123.2 kB / 0.8669 GB, free: 2.484 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.68e-05/0.3246, allocations: 12 kB / 0.8669 GB, free: 2.473 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3247, allocations: 0 / 0.8669 GB, free: 2.473 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/0.3247, allocations: 7.938 kB / 0.8669 GB, free: 2.465 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.3248, allocations: 0 / 0.8669 GB, free: 2.465 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.3251, allocations: 63.92 kB / 0.867 GB, free: 2.379 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.3253, allocations: 0.6959 MB / 0.8677 GB, free: 1.656 MB / 0.5419 GB Notification: Performance of SimCode: time 2.7e-07/0.3253, allocations: 0 / 0.8677 GB, free: 1.656 MB / 0.5419 GB Notification: Performance of Templates: time 0.002494/0.3278, allocations: 0.6604 MB / 0.8683 GB, free: 0.9961 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)