Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [: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.0.1-maint.8.0.x/package.mo): time 1.344/1.344, allocations: 285.5 MB / 292.8 MB, free: 9.953 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.0009959/0.0009959, allocations: 185.2 kB / 361.1 MB, free: 340 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.033/1.033, allocations: 205.2 MB / 0.6195 GB, free: 2.855 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007357/0.0007357, allocations: 91.66 kB / 0.7326 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3453/0.3461, allocations: 121.4 MB / 0.8512 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.4853, allocations: 115.3 MB / 0.9638 GB, free: 56.22 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3986/0.8839, allocations: 137 MB / 1.098 GB, free: 43.92 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001588/0.8841, allocations: 69.36 kB / 1.098 GB, free: 43.92 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.002485/0.8866, allocations: 0.9908 MB / 1.099 GB, free: 43.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.8866, allocations: 6.906 kB / 1.099 GB, free: 43.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.8866, allocations: 7.094 kB / 1.099 GB, free: 43.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.86e-05/0.8867, allocations: 171 kB / 1.099 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.8867, allocations: 3.188 kB / 1.099 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.8868, allocations: 0.5625 kB / 1.099 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.912e-05/0.8868, allocations: 32.84 kB / 1.099 GB, free: 43.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.094e-05/0.8869, allocations: 46.2 kB / 1.099 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.8869, allocations: 4 kB / 1.099 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.8869, allocations: 0 / 1.099 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.887, allocations: 4.812 kB / 1.099 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.8872, allocations: 256.6 kB / 1.099 GB, free: 43.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/0.8873, allocations: 50.47 kB / 1.099 GB, free: 43.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.8873, allocations: 20.36 kB / 1.099 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.8874, allocations: 3.906 kB / 1.099 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.207e-06/0.8874, allocations: 39.38 kB / 1.099 GB, free: 42.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.8874, allocations: 0 / 1.099 GB, free: 42.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001414/0.8875, allocations: 57.91 kB / 1.099 GB, free: 42.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.141e-05/0.8875, allocations: 51.41 kB / 1.099 GB, free: 42.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.299e-05/0.8876, allocations: 97.95 kB / 1.099 GB, free: 42.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.8876, allocations: 31.36 kB / 1.099 GB, free: 42.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.427e-05/0.8876, allocations: 91.61 kB / 1.1 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.8877, allocations: 9.719 kB / 1.1 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.8877, allocations: 0 / 1.1 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 2.956e-05/0.8877, allocations: 314.8 kB / 1.1 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.296e-05/0.8877, allocations: 14.88 kB / 1.1 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.005e-05/0.8877, allocations: 15.16 kB / 1.1 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.344e-05/0.8878, allocations: 8.734 kB / 1.1 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.8878, allocations: 0 / 1.1 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.406e-05/0.8879, allocations: 61.69 kB / 1.1 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/0.8879, allocations: 9.812 kB / 1.1 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.8879, allocations: 0 / 1.1 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.8879, allocations: 3.938 kB / 1.1 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.888, allocations: 15.12 kB / 1.1 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.888, allocations: 0 / 1.1 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.8881, allocations: 18.59 kB / 1.1 GB, free: 42.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.8881, allocations: 2.438 kB / 1.1 GB, free: 42.31 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 (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 3.703e-05/0.8882, allocations: 108.8 kB / 1.1 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.8882, allocations: 3.75 kB / 1.1 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.8882, allocations: 6.75 kB / 1.1 GB, free: 42.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.8882, allocations: 7.891 kB / 1.1 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.8883, allocations: 3.875 kB / 1.1 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.8883, allocations: 3.844 kB / 1.1 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.8884, allocations: 152.7 kB / 1.1 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.8884, allocations: 0 / 1.1 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.1e-05/0.8885, allocations: 15.47 kB / 1.1 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.8885, allocations: 0 / 1.1 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.8885, allocations: 3.797 kB / 1.1 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.8885, allocations: 0 / 1.1 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8885, allocations: 3.906 kB / 1.1 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.224e-05/0.8886, allocations: 153.2 kB / 1.1 GB, free: 41.88 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001851/0.8888, allocations: 0.5274 MB / 1.101 GB, free: 57.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.8888, allocations: 83.83 kB / 1.101 GB, free: 57.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.8888, allocations: 0 / 1.101 GB, free: 57.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.889, allocations: 18.28 kB / 1.101 GB, free: 57.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.889, allocations: 9.969 kB / 1.101 GB, free: 57.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.889, allocations: 1.25 kB / 1.101 GB, free: 57.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.444e-05/0.8891, allocations: 88.31 kB / 1.101 GB, free: 57.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007446/0.8898, allocations: 15.31 kB / 1.101 GB, free: 57.19 MB / 0.7292 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 8.764e-05/0.8899, allocations: 101 kB / 1.101 GB, free: 57.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.89e-05/0.89, allocations: 33.31 kB / 1.101 GB, free: 57.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.89, allocations: 4 kB / 1.101 GB, free: 57.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.89, allocations: 22.22 kB / 1.101 GB, free: 57.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.8902, allocations: 14.3 kB / 1.101 GB, free: 57.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000207/0.8904, allocations: 73.45 kB / 1.101 GB, free: 57.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.8906, allocations: 0.6982 MB / 1.102 GB, free: 56.32 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.8906, allocations: 0 / 1.102 GB, free: 56.32 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)