Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.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.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") [: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.7869/0.7869, allocations: 141.8 MB / 149.1 MB, free: 12.13 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.001021/0.00102, allocations: 180.4 kB / 181.9 MB, free: 8.883 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.32/1.32, allocations: 221.3 MB / 436 MB, free: 1.141 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.0009549/0.0009549, allocations: 95.19 kB / 0.507 GB, free: 10.07 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001848/0.001848, allocations: 276.5 kB / 0.5884 GB, free: 6.902 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 1.019e-05/1.021e-05, allocations: 4 kB / 0.6759 GB, free: 13.25 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4621/0.4621, allocations: 82.77 MB / 0.7567 GB, free: 138.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.5913, allocations: 107.6 MB / 0.8618 GB, free: 30.39 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.5916, allocations: 75.77 kB / 0.8619 GB, free: 30.32 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.003049/0.5947, allocations: 0.8647 MB / 0.8627 GB, free: 29.48 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.5947, allocations: 0 / 0.8627 GB, free: 29.48 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000269/0.595, allocations: 343.1 kB / 0.863 GB, free: 29.1 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.5951, allocations: 9.812 kB / 0.8631 GB, free: 29.09 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.736e-05/0.5951, allocations: 8.406 kB / 0.8631 GB, free: 29.08 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.308e-05/0.5952, allocations: 171.5 kB / 0.8632 GB, free: 28.88 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.5953, allocations: 0 / 0.8632 GB, free: 28.88 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.5953, allocations: 0.875 kB / 0.8632 GB, free: 28.88 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001055/0.5954, allocations: 36.17 kB / 0.8633 GB, free: 28.84 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.5956, allocations: 157.2 kB / 0.8634 GB, free: 28.66 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.5956, allocations: 0.625 kB / 0.8634 GB, free: 28.66 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.5956, allocations: 4.531 kB / 0.8634 GB, free: 28.66 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/0.5957, allocations: 24.88 kB / 0.8634 GB, free: 28.63 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/0.5963, allocations: 0.8719 MB / 0.8643 GB, free: 27.71 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.354e-05/0.5964, allocations: 170.5 kB / 0.8645 GB, free: 27.53 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.5964, allocations: 80.14 kB / 0.8645 GB, free: 27.45 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.5965, allocations: 80.5 kB / 0.8646 GB, free: 27.37 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.5965, allocations: 109.8 kB / 0.8647 GB, free: 27.25 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.5965, allocations: 1.531 kB / 0.8647 GB, free: 27.25 MB / 0.5575 GB Notification: Performance of matching and sorting (n=0): time 0.0001084/0.5966, allocations: 33.61 kB / 0.8647 GB, free: 27.21 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.5967, allocations: 316.4 kB / 0.865 GB, free: 26.83 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.5969, allocations: 154.5 kB / 0.8652 GB, free: 26.68 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.5969, allocations: 25.7 kB / 0.8652 GB, free: 26.65 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.597, allocations: 147.2 kB / 0.8654 GB, free: 26.5 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.597, allocations: 9.344 kB / 0.8654 GB, free: 26.49 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.597, allocations: 0 / 0.8654 GB, free: 26.49 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 8.159e-05/0.5971, allocations: 314.8 kB / 0.8657 GB, free: 26.18 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.613e-05/0.5972, allocations: 28.83 kB / 0.8657 GB, free: 26.15 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.5973, allocations: 220.3 kB / 0.8659 GB, free: 25.85 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.5e-05/0.5974, allocations: 59.22 kB / 0.866 GB, free: 25.8 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5974, allocations: 0 / 0.866 GB, free: 25.8 MB / 0.5575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003064/0.5977, allocations: 167.7 kB / 0.8661 GB, free: 25.63 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5978, allocations: 4 kB / 0.8661 GB, free: 25.62 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.5978, allocations: 4 kB / 0.8661 GB, free: 25.62 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.5978, allocations: 8.094 kB / 0.8661 GB, free: 25.61 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.5979, allocations: 39.86 kB / 0.8662 GB, free: 25.57 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.598, allocations: 13.27 kB / 0.8662 GB, free: 25.56 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.5981, allocations: 23.73 kB / 0.8662 GB, free: 25.54 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.5981, allocations: 12.41 kB / 0.8662 GB, free: 25.53 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001025/0.5982, allocations: 196.1 kB / 0.8664 GB, free: 25.33 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.5983, allocations: 120.9 kB / 0.8665 GB, free: 25.2 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.032e-05/0.5984, allocations: 112.5 kB / 0.8666 GB, free: 25.08 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-05/0.5984, allocations: 176.3 kB / 0.8668 GB, free: 24.9 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.081e-05/0.5985, allocations: 184.5 kB / 0.867 GB, free: 24.71 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.059e-05/0.5985, allocations: 188.2 kB / 0.8672 GB, free: 24.52 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.5987, allocations: 397.8 kB / 0.8675 GB, free: 24.09 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.094e-05/0.5988, allocations: 101 kB / 0.8676 GB, free: 23.98 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.913e-05/0.5988, allocations: 106.1 kB / 0.8677 GB, free: 23.87 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.356e-05/0.5988, allocations: 184.2 kB / 0.8679 GB, free: 23.68 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/0.5989, allocations: 184.3 kB / 0.8681 GB, free: 23.5 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.214e-05/0.599, allocations: 180.2 kB / 0.8683 GB, free: 23.31 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.015e-05/0.599, allocations: 176.3 kB / 0.8684 GB, free: 23.13 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001485/0.5992, allocations: 315.6 kB / 0.8687 GB, free: 22.8 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.5992, allocations: 190 kB / 0.8689 GB, free: 22.59 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/0.5993, allocations: 180.5 kB / 0.8691 GB, free: 22.41 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.5994, allocations: 112.9 kB / 0.8692 GB, free: 22.29 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.5995, allocations: 180.2 kB / 0.8694 GB, free: 22.11 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.5995, allocations: 101 kB / 0.8695 GB, free: 22 MB / 0.5575 GB Notification: Performance of sort global known variables: time 6.87e-05/0.5996, allocations: 115.8 kB / 0.8696 GB, free: 21.89 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0003731/0.6, allocations: 20 kB / 0.8696 GB, free: 21.87 MB / 0.5575 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 (0): * Single equations (assignments): 0 * 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.0002012/0.6002, allocations: 190.5 kB / 0.8698 GB, free: 21.67 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.6003, allocations: 67.8 kB / 0.8698 GB, free: 21.61 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6003, allocations: 0 / 0.8698 GB, free: 21.61 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-06/0.6003, allocations: 1.312 kB / 0.8698 GB, free: 21.61 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.6006, allocations: 0.5341 MB / 0.8704 GB, free: 21.07 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.6009, allocations: 181.3 kB / 0.8705 GB, free: 20.87 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.6011, allocations: 0.712 MB / 0.8712 GB, free: 20.13 MB / 0.5575 GB Notification: Performance of SimCode: time 2.01e-07/0.6011, allocations: 0 / 0.8712 GB, free: 20.13 MB / 0.5575 GB Notification: Performance of Templates: time 0.004569/0.6056, allocations: 1.751 MB / 0.8729 GB, free: 18.42 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)