Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.105/2.105, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001525, allocations: 181.2 kB / 360.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 92.88 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.407e-05/1.41e-05, allocations: 4 kB / 0.8503 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.5446, allocations: 115.2 MB / 0.9628 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.7432, allocations: 136.8 MB / 1.096 GB, free: 3.938 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.7434, allocations: 59.97 kB / 1.096 GB, free: 3.879 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003891/0.7473, allocations: 0.6469 MB / 1.097 GB, free: 3.266 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.7474, allocations: 4.625 kB / 1.097 GB, free: 3.262 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005513/0.7479, allocations: 353.3 kB / 1.097 GB, free: 2.875 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.748, allocations: 8.719 kB / 1.097 GB, free: 2.867 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.7481, allocations: 9.969 kB / 1.097 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.7482, allocations: 170.9 kB / 1.098 GB, free: 2.652 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.7483, allocations: 6.281 kB / 1.098 GB, free: 2.648 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.7483, allocations: 0 / 1.098 GB, free: 2.648 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001206/0.7484, allocations: 27.98 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.7485, allocations: 47.44 kB / 1.098 GB, free: 2.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.7486, allocations: 4.5 kB / 1.098 GB, free: 2.566 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.7486, allocations: 4 kB / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.7486, allocations: 0.5 kB / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.7491, allocations: 259.4 kB / 1.098 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.7492, allocations: 47.38 kB / 1.098 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.263e-05/0.7493, allocations: 21.39 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.7493, allocations: 1.594 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.7494, allocations: 35.06 kB / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.7494, allocations: 0 / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.000227/0.7496, allocations: 56.3 kB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.7497, allocations: 51.94 kB / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.077e-05/0.7498, allocations: 105 kB / 1.098 GB, free: 1.922 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.7498, allocations: 25.7 kB / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.7499, allocations: 92.05 kB / 1.098 GB, free: 1.797 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.7499, allocations: 7.891 kB / 1.098 GB, free: 1.789 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.7499, allocations: 0 / 1.098 GB, free: 1.789 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.75, allocations: 314.8 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.7501, allocations: 8 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.349e-05/0.7501, allocations: 12.61 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.474e-05/0.7502, allocations: 11.98 kB / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7502, allocations: 4 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001603/0.7504, allocations: 62.14 kB / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.7504, allocations: 13.03 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7504, allocations: 0 / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.7504, allocations: 1.125 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.7506, allocations: 15.98 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.7506, allocations: 0 / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.7508, allocations: 19.89 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.7508, allocations: 2.438 kB / 1.099 GB, free: 1.324 MB / 0.698 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 (intLesThr.u,intLesThr.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 7.9e-05/0.7509, allocations: 110.4 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.751, allocations: 12.75 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.751, allocations: 4 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.751, allocations: 0 / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.751, allocations: 3.984 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.751, allocations: 8 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.7512, allocations: 152.7 kB / 1.099 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7513, allocations: 0 / 1.099 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.7514, allocations: 15.98 kB / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.7515, allocations: 0 / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.7515, allocations: 0 / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.7515, allocations: 3.906 kB / 1.099 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.7515, allocations: 4.453 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001866/0.7517, allocations: 159.4 kB / 1.099 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.7517, allocations: 77.67 kB / 1.099 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.7518, allocations: 0 / 1.099 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.752, allocations: 15.98 kB / 1.099 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.7521, allocations: 11.98 kB / 1.099 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.7521, allocations: 4 kB / 1.099 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.072e-05/0.7522, allocations: 87.27 kB / 1.099 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003029/0.7525, allocations: 11.91 kB / 1.099 GB, free: 0.5781 MB / 0.698 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 (intLesThr.u,intLesThr.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.0001385/0.7526, allocations: 100.5 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.7528, allocations: 31.92 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7528, allocations: 3.938 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.194e-05/0.7529, allocations: 20 kB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.7531, allocations: 6.156 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.7535, allocations: 80.58 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.7538, allocations: 0.6954 MB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of SimCode: time 6.72e-07/0.7538, allocations: 0 / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.003602/0.7574, allocations: 0.7905 MB / 1.101 GB, free: 14.84 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)