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.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [: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.113/2.113, allocations: 284.9 MB / 292.2 MB, free: 10.68 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.001561/0.001561, allocations: 177.3 kB / 360.4 MB, free: 7.449 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.618/1.618, allocations: 205.2 MB / 0.6188 GB, free: 12.38 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.001207/0.001207, allocations: 102.8 kB / 0.7318 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.677e-06/8.766e-06, allocations: 0 / 0.8503 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5542/0.5542, allocations: 115.2 MB / 0.9628 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1996/0.7539, allocations: 136.8 MB / 1.096 GB, free: 3.898 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.7542, allocations: 67.95 kB / 1.096 GB, free: 3.832 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003902/0.7581, allocations: 0.6496 MB / 1.097 GB, free: 3.219 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.7581, allocations: 0 / 1.097 GB, free: 3.219 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.0005856/0.7587, allocations: 354.4 kB / 1.097 GB, free: 2.832 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.7588, allocations: 8.031 kB / 1.097 GB, free: 2.824 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.7588, allocations: 9.312 kB / 1.097 GB, free: 2.816 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.759, allocations: 166.9 kB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.759, allocations: 4 kB / 1.098 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.759, allocations: 0.7031 kB / 1.098 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001205/0.7592, allocations: 31.92 kB / 1.098 GB, free: 2.578 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.7593, allocations: 45.69 kB / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.7593, allocations: 0 / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.7593, allocations: 0.8438 kB / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.7594, allocations: 0 / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.7599, allocations: 268.5 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.76, allocations: 47.3 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.011e-05/0.7601, allocations: 20.8 kB / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.7601, allocations: 4.688 kB / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.7602, allocations: 31.58 kB / 1.098 GB, free: 2.109 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.395e-06/0.7602, allocations: 0 / 1.098 GB, free: 2.109 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002377/0.7604, allocations: 60.94 kB / 1.098 GB, free: 2.047 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.7605, allocations: 56.28 kB / 1.098 GB, free: 1.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.7606, allocations: 93 kB / 1.098 GB, free: 1.883 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.7606, allocations: 30.36 kB / 1.098 GB, free: 1.848 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.7606, allocations: 84.77 kB / 1.098 GB, free: 1.762 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.7607, allocations: 7.891 kB / 1.098 GB, free: 1.754 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.7607, allocations: 0.6562 kB / 1.098 GB, free: 1.754 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.7608, allocations: 319.5 kB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.641e-05/0.7609, allocations: 8 kB / 1.099 GB, free: 1.426 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.312e-05/0.7609, allocations: 16.44 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.013e-05/0.761, allocations: 13.39 kB / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.761, allocations: 3.938 kB / 1.099 GB, free: 1.395 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001608/0.7612, allocations: 58.12 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.7612, allocations: 8.688 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7612, allocations: 0 / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.7612, allocations: 0.8125 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.7614, allocations: 19.23 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.7615, allocations: 0 / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.7616, allocations: 20.39 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.7617, allocations: 3.75 kB / 1.099 GB, free: 1.289 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 (intGreThr.u,intGreThr.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 8.755e-05/0.7618, allocations: 112.7 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.7618, allocations: 3.906 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.7618, allocations: 11.98 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.7619, allocations: 4 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7619, allocations: 0 / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.7619, allocations: 3.938 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.7621, allocations: 146.2 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7621, allocations: 0 / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.7623, allocations: 19.98 kB / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.7623, allocations: 2.25 kB / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.7623, allocations: 3.984 kB / 1.099 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.7623, allocations: 3.906 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7623, allocations: 0 / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002049/0.7626, allocations: 156.3 kB / 1.099 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.7626, allocations: 77.11 kB / 1.099 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.7626, allocations: 0 / 1.099 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.7628, allocations: 11.98 kB / 1.099 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.7629, allocations: 11.98 kB / 1.099 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.7629, allocations: 4 kB / 1.099 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.836e-05/0.763, allocations: 91.27 kB / 1.099 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003043/0.7633, allocations: 11.91 kB / 1.099 GB, free: 0.5469 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 (intGreThr.u,intGreThr.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.0001433/0.7635, allocations: 108.1 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001607/0.7637, allocations: 27.98 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7637, allocations: 0 / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.7638, allocations: 16 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.764, allocations: 8.953 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.7643, allocations: 88.58 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003958/0.7647, allocations: 0.6993 MB / 1.1 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/0.7648, allocations: 0 / 1.1 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of Templates: time 0.003647/0.7684, allocations: 0.7894 MB / 1.101 GB, free: 14.8 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)