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.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.128/2.128, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.00157/0.001569, allocations: 185.2 kB / 360.4 MB, free: 7.531 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.599/1.599, allocations: 205.1 MB / 0.6188 GB, free: 13.16 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.001245/0.001245, allocations: 83.56 kB / 0.7318 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.435e-06/8.496e-06, allocations: 0 / 0.8503 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5303/0.5303, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.7304, allocations: 136.8 MB / 1.096 GB, free: 4.027 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.7307, allocations: 72.52 kB / 1.096 GB, free: 3.957 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00383/0.7345, allocations: 0.639 MB / 1.097 GB, free: 3.352 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.7345, allocations: 0 / 1.097 GB, free: 3.352 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.0005742/0.7351, allocations: 349.2 kB / 1.097 GB, free: 2.969 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.7352, allocations: 8.531 kB / 1.097 GB, free: 2.961 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.7352, allocations: 4.469 kB / 1.097 GB, free: 2.957 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.7354, allocations: 185.8 kB / 1.098 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.7355, allocations: 4 kB / 1.098 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.7355, allocations: 0.5 kB / 1.098 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001209/0.7356, allocations: 28.5 kB / 1.098 GB, free: 2.707 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.7358, allocations: 43 kB / 1.098 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7358, allocations: 0 / 1.098 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.7358, allocations: 0 / 1.098 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.7358, allocations: 5.25 kB / 1.098 GB, free: 2.656 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.7363, allocations: 259 kB / 1.098 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.7365, allocations: 51.56 kB / 1.098 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.898e-05/0.7366, allocations: 21.39 kB / 1.098 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.7366, allocations: 0.9375 kB / 1.098 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.7366, allocations: 35.84 kB / 1.098 GB, free: 2.242 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.7366, allocations: 0.5 kB / 1.098 GB, free: 2.242 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002354/0.7369, allocations: 57.75 kB / 1.098 GB, free: 2.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.7369, allocations: 60 kB / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.737, allocations: 97.69 kB / 1.098 GB, free: 2.012 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.7371, allocations: 25.7 kB / 1.098 GB, free: 1.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.7371, allocations: 90.92 kB / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.7372, allocations: 7.891 kB / 1.098 GB, free: 1.883 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.7372, allocations: 0 / 1.098 GB, free: 1.883 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7373, allocations: 314.8 kB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.447e-05/0.7374, allocations: 12 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.12e-05/0.7374, allocations: 8 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.865e-05/0.7375, allocations: 18.59 kB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7375, allocations: 0 / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001638/0.7377, allocations: 57.59 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.7377, allocations: 8.469 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.7377, allocations: 5.625 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.7378, allocations: 4 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.738, allocations: 15.92 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.738, allocations: 4 kB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.7381, allocations: 11.89 kB / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.7382, allocations: 8 kB / 1.099 GB, free: 1.414 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 (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 8.194e-05/0.7383, allocations: 109.7 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.7383, allocations: 7.906 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.7383, allocations: 4 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.7384, allocations: 5.484 kB / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.7384, allocations: 0 / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.7384, allocations: 0 / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.7386, allocations: 150.3 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.7386, allocations: 4 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.7388, allocations: 17.86 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.7388, allocations: 0 / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.7388, allocations: 4 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.7388, allocations: 3.906 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7388, allocations: 0 / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001949/0.739, allocations: 159.4 kB / 1.099 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.7391, allocations: 85.11 kB / 1.099 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.7391, allocations: 0 / 1.099 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.7393, allocations: 11.98 kB / 1.099 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.7394, allocations: 11.98 kB / 1.099 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.7394, allocations: 0 / 1.099 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.8e-05/0.7395, allocations: 82.95 kB / 1.099 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003057/0.7398, allocations: 19.89 kB / 1.099 GB, free: 0.6758 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 (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.00013/0.7399, allocations: 104.8 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.7401, allocations: 27.98 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.7401, allocations: 7.938 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.081e-05/0.7402, allocations: 19.94 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.7404, allocations: 0 / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.7407, allocations: 76.58 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.7411, allocations: 0.7032 MB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.7411, allocations: 1.031 kB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of Templates: time 0.003575/0.7447, allocations: 0.7971 MB / 1.101 GB, free: 14.93 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)