Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") [: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.8739/0.8739, allocations: 141.8 MB / 149.1 MB, free: 15.8 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.001368/0.001368, allocations: 185.1 kB / 182 MB, free: 12.14 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.313/1.313, allocations: 221.3 MB / 436 MB, free: 4.844 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.0009653/0.0009653, allocations: 100.8 kB / 0.5071 GB, free: 19.08 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001931/0.001931, allocations: 283.8 kB / 0.5885 GB, free: 6.066 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.766e-06/8.806e-06, allocations: 3.688 kB / 0.6759 GB, free: 139.4 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1821, allocations: 82.77 MB / 0.7567 GB, free: 87.48 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.3089, allocations: 107.9 MB / 0.8621 GB, free: 11.41 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.3092, allocations: 71.95 kB / 0.8622 GB, free: 11.34 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.003746/0.3129, allocations: 1.039 MB / 0.8632 GB, free: 10.3 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.313, allocations: 4 kB / 0.8632 GB, free: 10.3 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.0003532/0.3133, allocations: 354.3 kB / 0.8636 GB, free: 9.906 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3134, allocations: 12.97 kB / 0.8636 GB, free: 9.895 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.3134, allocations: 3.906 kB / 0.8636 GB, free: 9.891 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.3135, allocations: 167.1 kB / 0.8637 GB, free: 9.688 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3135, allocations: 0 / 0.8637 GB, free: 9.688 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.3136, allocations: 4 kB / 0.8637 GB, free: 9.684 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.598e-05/0.3136, allocations: 12 kB / 0.8637 GB, free: 9.672 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.274e-05/0.3137, allocations: 37.69 kB / 0.8638 GB, free: 9.629 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.3137, allocations: 0 / 0.8638 GB, free: 9.629 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3137, allocations: 3.906 kB / 0.8638 GB, free: 9.625 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3138, allocations: 0 / 0.8638 GB, free: 9.625 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.3141, allocations: 245.4 kB / 0.864 GB, free: 9.344 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.204e-05/0.3142, allocations: 26.62 kB / 0.864 GB, free: 9.309 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.3142, allocations: 12.91 kB / 0.8641 GB, free: 9.293 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.3144, allocations: 77.11 kB / 0.8641 GB, free: 9.199 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3144, allocations: 42.47 kB / 0.8642 GB, free: 9.148 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3144, allocations: 0 / 0.8642 GB, free: 9.148 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0001774/0.3146, allocations: 37.7 kB / 0.8642 GB, free: 9.105 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.3146, allocations: 51.41 kB / 0.8643 GB, free: 9.043 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.3147, allocations: 96.98 kB / 0.8643 GB, free: 8.941 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.3147, allocations: 33.64 kB / 0.8644 GB, free: 8.902 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.3148, allocations: 84.08 kB / 0.8645 GB, free: 8.816 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.3148, allocations: 7.906 kB / 0.8645 GB, free: 8.809 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.3148, allocations: 4.031 kB / 0.8645 GB, free: 8.805 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3149, allocations: 310.8 kB / 0.8648 GB, free: 8.492 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.3149, allocations: 4 kB / 0.8648 GB, free: 8.488 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.612e-05/0.315, allocations: 8 kB / 0.8648 GB, free: 8.48 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/0.315, allocations: 7.984 kB / 0.8648 GB, free: 8.473 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.315, allocations: 0 / 0.8648 GB, free: 8.473 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.421e-05/0.3151, allocations: 41.61 kB / 0.8648 GB, free: 8.426 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.3151, allocations: 8 kB / 0.8648 GB, free: 8.418 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3151, allocations: 96 / 0.8648 GB, free: 8.418 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.3151, allocations: 4 kB / 0.8648 GB, free: 8.414 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.3152, allocations: 11.98 kB / 0.8649 GB, free: 8.402 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3153, allocations: 3.938 kB / 0.8649 GB, free: 8.398 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/0.3153, allocations: 11.98 kB / 0.8649 GB, free: 8.387 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.3153, allocations: 7.938 kB / 0.8649 GB, free: 8.379 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 7.194e-05/0.3154, allocations: 104.9 kB / 0.865 GB, free: 8.27 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.3154, allocations: 7.938 kB / 0.865 GB, free: 8.262 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.3156, allocations: 53.23 kB / 0.865 GB, free: 8.207 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3156, allocations: 0 / 0.865 GB, free: 8.207 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.3156, allocations: 8 kB / 0.865 GB, free: 8.199 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3156, allocations: 0 / 0.865 GB, free: 8.199 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.3157, allocations: 142.1 kB / 0.8652 GB, free: 8.023 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3158, allocations: 0 / 0.8652 GB, free: 8.023 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.754e-05/0.3158, allocations: 12.03 kB / 0.8652 GB, free: 8.012 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3158, allocations: 0 / 0.8652 GB, free: 8.012 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.3158, allocations: 0 / 0.8652 GB, free: 8.012 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3159, allocations: 4 kB / 0.8652 GB, free: 8.008 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3159, allocations: 0 / 0.8652 GB, free: 8.008 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001272/0.316, allocations: 143.4 kB / 0.8653 GB, free: 7.852 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.3161, allocations: 81.11 kB / 0.8654 GB, free: 7.754 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.3161, allocations: 0 / 0.8654 GB, free: 7.754 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.172e-05/0.3162, allocations: 11.98 kB / 0.8654 GB, free: 7.742 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.3162, allocations: 7.891 kB / 0.8654 GB, free: 7.734 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.3162, allocations: 0 / 0.8654 GB, free: 7.734 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.873e-05/0.3163, allocations: 87.27 kB / 0.8655 GB, free: 7.648 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002309/0.3165, allocations: 20.03 kB / 0.8655 GB, free: 7.629 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.0001811/0.3167, allocations: 103.2 kB / 0.8656 GB, free: 7.52 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.45e-05/0.3168, allocations: 16 kB / 0.8656 GB, free: 7.504 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3168, allocations: 0 / 0.8656 GB, free: 7.504 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.225e-05/0.3168, allocations: 7.938 kB / 0.8656 GB, free: 7.496 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.317, allocations: 11.92 kB / 0.8657 GB, free: 7.484 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.3173, allocations: 63.55 kB / 0.8657 GB, free: 7.402 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.3175, allocations: 0.688 MB / 0.8664 GB, free: 6.688 MB / 0.5419 GB Notification: Performance of SimCode: time 2.6e-07/0.3175, allocations: 4 kB / 0.8664 GB, free: 6.684 MB / 0.5419 GB Notification: Performance of Templates: time 0.002385/0.3199, allocations: 0.5252 MB / 0.8669 GB, free: 6.16 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)