Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [: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.344/1.344, allocations: 289.8 MB / 297.1 MB, free: 6.715 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.0009347/0.0009347, allocations: 177.3 kB / 366.3 MB, free: 2.012 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.021/1.021, allocations: 205.1 MB / 0.6256 GB, free: 7.461 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.000759/0.0007589, allocations: 88.33 kB / 0.7395 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.855e-06/7.935e-06, allocations: 4 kB / 0.859 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.4424, allocations: 116.3 MB / 0.9726 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.5849, allocations: 138 MB / 1.107 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.5851, allocations: 67.95 kB / 1.107 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002471/0.5876, allocations: 0.6396 MB / 1.108 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.5876, allocations: 0.6562 kB / 1.108 GB, free: 11.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003489/0.588, allocations: 348.2 kB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.588, allocations: 12.02 kB / 1.108 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.5881, allocations: 4.5 kB / 1.108 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.5882, allocations: 170.9 kB / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.5882, allocations: 1.156 kB / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.5882, allocations: 4 kB / 1.109 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.521e-05/0.5883, allocations: 24.75 kB / 1.109 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.724e-05/0.5884, allocations: 50.64 kB / 1.109 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.5884, allocations: 0 / 1.109 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.5885, allocations: 0.8438 kB / 1.109 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.5885, allocations: 4 kB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.5888, allocations: 259.1 kB / 1.109 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.023e-05/0.5889, allocations: 55.97 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.589, allocations: 16.8 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.589, allocations: 7.656 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.589, allocations: 31.19 kB / 1.109 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.589, allocations: 4.484 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001655/0.5892, allocations: 54.39 kB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.5892, allocations: 52.19 kB / 1.109 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.326e-05/0.5893, allocations: 102.9 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.5893, allocations: 30.17 kB / 1.109 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.5894, allocations: 92.7 kB / 1.109 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.5894, allocations: 5.875 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.5894, allocations: 0 / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.392e-05/0.5895, allocations: 319.8 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/0.5895, allocations: 12.72 kB / 1.11 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.5895, allocations: 8 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/0.5896, allocations: 12.69 kB / 1.11 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5896, allocations: 0 / 1.11 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.255e-05/0.5897, allocations: 62.33 kB / 1.11 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.5897, allocations: 4 kB / 1.11 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.5897, allocations: 0.625 kB / 1.11 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.5897, allocations: 4 kB / 1.11 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.5899, allocations: 13.92 kB / 1.11 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.5899, allocations: 0 / 1.11 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.82e-05/0.59, allocations: 23.27 kB / 1.11 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.59, allocations: 4.562 kB / 1.11 GB, free: 9.953 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.875e-05/0.59, allocations: 110.7 kB / 1.11 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.5901, allocations: 4.594 kB / 1.11 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.5901, allocations: 8.594 kB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.5901, allocations: 0 / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5901, allocations: 0.875 kB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.5901, allocations: 0 / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.5903, allocations: 150.2 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.5903, allocations: 1.375 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.445e-05/0.5904, allocations: 19.98 kB / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5904, allocations: 0 / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.5904, allocations: 0 / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.5904, allocations: 10.03 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5904, allocations: 0 / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001287/0.5905, allocations: 155.4 kB / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.5906, allocations: 85.11 kB / 1.11 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.5906, allocations: 0.8438 kB / 1.11 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.5907, allocations: 11.98 kB / 1.11 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.5908, allocations: 11.92 kB / 1.11 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.5908, allocations: 4 kB / 1.11 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.448e-05/0.5908, allocations: 79.28 kB / 1.11 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002058/0.591, allocations: 15.91 kB / 1.11 GB, free: 9.215 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: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001201/0.5912, allocations: 107.2 kB / 1.11 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.752e-05/0.5913, allocations: 35.94 kB / 1.11 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.5913, allocations: 0 / 1.11 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.5913, allocations: 20.55 kB / 1.11 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.5915, allocations: 6.906 kB / 1.111 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/0.5917, allocations: 76.62 kB / 1.111 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.592, allocations: 0.7032 MB / 1.111 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.592, allocations: 0 / 1.111 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of Templates: time 0.002316/0.5943, allocations: 0.7894 MB / 1.112 GB, free: 7.465 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)