Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.338/1.338, allocations: 285.5 MB / 292.8 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009233/0.0009233, allocations: 173.3 kB / 361.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.022/1.022, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007856/0.0007856, allocations: 94.78 kB / 0.7326 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.636e-06, allocations: 4 kB / 0.8511 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4417, allocations: 115.3 MB / 0.9637 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1444/0.5862, allocations: 136.9 MB / 1.097 GB, free: 3.082 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.5864, allocations: 75.95 kB / 1.097 GB, free: 3.008 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002774/0.5892, allocations: 0.8607 MB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5892, allocations: 0 / 1.098 GB, free: 2.176 MB / 0.698 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.0002459/0.5895, allocations: 346.3 kB / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.5895, allocations: 8.031 kB / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.5896, allocations: 7.906 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.353e-05/0.5897, allocations: 171 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.5897, allocations: 2.438 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-06/0.5897, allocations: 0 / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.249e-05/0.5898, allocations: 36.17 kB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.5899, allocations: 158.9 kB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.59, allocations: 0.5 kB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.59, allocations: 10.48 kB / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.59, allocations: 25.28 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.5906, allocations: 0.8675 MB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.47e-05/0.5907, allocations: 166 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.5908, allocations: 88.58 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.5908, allocations: 80.66 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.5909, allocations: 112 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.763e-06/0.5909, allocations: 0.75 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.213e-05/0.591, allocations: 36.02 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.5911, allocations: 316.4 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.5912, allocations: 151.4 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.5912, allocations: 25.7 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.5913, allocations: 148.5 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-06/0.5913, allocations: 3.984 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.5913, allocations: 0 / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5915, allocations: 322.5 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.494e-05/0.5915, allocations: 20.36 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.5917, allocations: 219.7 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.54e-05/0.5918, allocations: 67.83 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5918, allocations: 2.156 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002829/0.592, allocations: 157.2 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.5921, allocations: 4 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5921, allocations: 4.656 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.5921, allocations: 12 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.5922, allocations: 43.92 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.5922, allocations: 11.92 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.169e-05/0.5923, allocations: 23.75 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.5923, allocations: 8 kB / 1.102 GB, free: 14.21 MB / 0.7136 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 9.42e-05/0.5924, allocations: 196.1 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/0.5925, allocations: 112.8 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.989e-05/0.5926, allocations: 117.1 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.782e-05/0.5926, allocations: 180.2 kB / 1.102 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.772e-05/0.5927, allocations: 176.6 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.197e-05/0.5928, allocations: 184.2 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.593, allocations: 399.8 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.003e-05/0.593, allocations: 105 kB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.5931, allocations: 114.2 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-05/0.5931, allocations: 176.3 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.5932, allocations: 177.1 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.545e-05/0.5933, allocations: 180.2 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-05/0.5933, allocations: 188.2 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00013/0.5935, allocations: 315.7 kB / 1.104 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.996e-05/0.5935, allocations: 183.7 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.259e-05/0.5936, allocations: 184.5 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.5937, allocations: 105 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.5938, allocations: 184.3 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.5938, allocations: 112.9 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.664e-05/0.5939, allocations: 107.8 kB / 1.105 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002758/0.5942, allocations: 23.98 kB / 1.105 GB, free: 10.57 MB / 0.7136 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.0001843/0.5944, allocations: 186.3 kB / 1.105 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.5945, allocations: 61.11 kB / 1.105 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.5945, allocations: 8 kB / 1.105 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.188e-06/0.5945, allocations: 7.938 kB / 1.105 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.5948, allocations: 0.5301 MB / 1.106 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002212/0.595, allocations: 171.7 kB / 1.106 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.5953, allocations: 0.7134 MB / 1.107 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.5953, allocations: 4 kB / 1.107 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of Templates: time 0.003735/0.599, allocations: 1.75 MB / 1.109 GB, free: 7.156 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)