Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.48/1.48, allocations: 289.8 MB / 297.1 MB, free: 6.562 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.001164/0.001165, allocations: 181.2 kB / 366.3 MB, free: 1.941 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.37/1.37, allocations: 205.1 MB / 0.6256 GB, free: 5.785 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.0008622/0.0008623, allocations: 97.31 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.023e-05/1.027e-05, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5823, allocations: 116.3 MB / 0.9726 GB, free: 68.35 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.7438, allocations: 137.9 MB / 1.107 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.744, allocations: 75.94 kB / 1.107 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003013/0.7471, allocations: 0.8609 MB / 1.108 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.7471, allocations: 0 / 1.108 GB, free: 9.629 MB / 0.7136 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.0002562/0.7473, allocations: 346.3 kB / 1.108 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.7474, allocations: 8.031 kB / 1.108 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.7474, allocations: 8.469 kB / 1.108 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.953e-05/0.7475, allocations: 171 kB / 1.109 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.7476, allocations: 4 kB / 1.109 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.7476, allocations: 0 / 1.109 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.638e-05/0.7477, allocations: 36.17 kB / 1.109 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.7479, allocations: 157.8 kB / 1.109 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.7479, allocations: 0 / 1.109 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.7479, allocations: 15.89 kB / 1.109 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/0.7479, allocations: 23.97 kB / 1.109 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006307/0.7486, allocations: 0.8677 MB / 1.11 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.901e-05/0.7487, allocations: 165.1 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.7487, allocations: 84.05 kB / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.7487, allocations: 75.28 kB / 1.11 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/0.7488, allocations: 118.7 kB / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.7488, allocations: 0 / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.747e-05/0.7489, allocations: 33.61 kB / 1.11 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.749, allocations: 320.4 kB / 1.11 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.7491, allocations: 148.2 kB / 1.111 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.7491, allocations: 25.7 kB / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.7492, allocations: 143.3 kB / 1.111 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-06/0.7492, allocations: 11.98 kB / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.7492, allocations: 4 kB / 1.111 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.7494, allocations: 313.3 kB / 1.111 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-05/0.7494, allocations: 28.3 kB / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.7496, allocations: 216 kB / 1.111 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.268e-05/0.7497, allocations: 63.83 kB / 1.111 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.7497, allocations: 0 / 1.111 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002691/0.75, allocations: 161.2 kB / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.75, allocations: 4 kB / 1.112 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.75, allocations: 4.656 kB / 1.112 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.75, allocations: 8 kB / 1.112 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.7502, allocations: 39.92 kB / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.7502, allocations: 11.94 kB / 1.112 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.384e-05/0.7503, allocations: 20.69 kB / 1.112 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.7503, allocations: 15.98 kB / 1.112 GB, free: 5.645 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 0.0001137/0.7504, allocations: 192.1 kB / 1.112 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.7505, allocations: 117.9 kB / 1.112 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.7506, allocations: 112.5 kB / 1.112 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.635e-05/0.7506, allocations: 184.3 kB / 1.112 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.283e-05/0.7507, allocations: 180.6 kB / 1.112 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.608e-05/0.7508, allocations: 180.2 kB / 1.113 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.751, allocations: 397.8 kB / 1.113 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.129e-05/0.7511, allocations: 101 kB / 1.113 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.658e-05/0.7511, allocations: 115.2 kB / 1.113 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.937e-05/0.7512, allocations: 184.3 kB / 1.113 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.7513, allocations: 177 kB / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.509e-05/0.7513, allocations: 180.2 kB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.66e-05/0.7514, allocations: 180.2 kB / 1.114 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001457/0.7516, allocations: 319.7 kB / 1.114 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.916e-05/0.7516, allocations: 186 kB / 1.114 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-05/0.7517, allocations: 177 kB / 1.115 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-05/0.7518, allocations: 112.9 kB / 1.115 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.7519, allocations: 180.3 kB / 1.115 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.7519, allocations: 105.9 kB / 1.115 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.921e-05/0.752, allocations: 115.2 kB / 1.115 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003084/0.7523, allocations: 20 kB / 1.115 GB, free: 2 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.0001875/0.7525, allocations: 186.5 kB / 1.115 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.7527, allocations: 72.55 kB / 1.115 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7527, allocations: 0.5 kB / 1.115 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.7527, allocations: 4 kB / 1.115 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.753, allocations: 0.5315 MB / 1.116 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002286/0.7532, allocations: 178.8 kB / 1.116 GB, free: 1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/0.7535, allocations: 0.7081 MB / 1.117 GB, free: 272 kB / 0.7136 GB Notification: Performance of SimCode: time 3.1e-07/0.7535, allocations: 4.938 kB / 1.117 GB, free: 268 kB / 0.7136 GB Notification: Performance of Templates: time 0.004041/0.7576, allocations: 1.755 MB / 1.118 GB, free: 14.56 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)