Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.19/2.19, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001619/0.001618, allocations: 181.3 kB / 360.3 MB, free: 7.547 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.622/1.622, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001198/0.001197, allocations: 96.86 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2407/0.2419, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5366/0.7785, allocations: 115.2 MB / 0.9628 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.204/0.9826, allocations: 136.8 MB / 1.096 GB, free: 4.07 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.9829, allocations: 73.14 kB / 1.096 GB, free: 4 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.004565/0.9875, allocations: 0.9859 MB / 1.097 GB, free: 3.012 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 9.189e-05/0.9876, allocations: 14.75 kB / 1.097 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.9876, allocations: 3.906 kB / 1.097 GB, free: 2.996 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.9878, allocations: 181.2 kB / 1.098 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.9879, allocations: 0 / 1.098 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.9879, allocations: 4.688 kB / 1.098 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000122/0.988, allocations: 20 kB / 1.098 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.9882, allocations: 60 kB / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.9882, allocations: 0 / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.9882, allocations: 0 / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.9882, allocations: 4 kB / 1.098 GB, free: 2.691 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.9887, allocations: 255.8 kB / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.9889, allocations: 46.58 kB / 1.098 GB, free: 2.352 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.989, allocations: 20.92 kB / 1.098 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.989, allocations: 5.25 kB / 1.098 GB, free: 2.324 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.989, allocations: 40.5 kB / 1.098 GB, free: 2.277 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.989, allocations: 0.875 kB / 1.098 GB, free: 2.277 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002341/0.9893, allocations: 49.69 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.9893, allocations: 56.19 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/0.9894, allocations: 97.88 kB / 1.098 GB, free: 2.055 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.9895, allocations: 29.69 kB / 1.098 GB, free: 2.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.9895, allocations: 88.7 kB / 1.098 GB, free: 1.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.9896, allocations: 3.906 kB / 1.098 GB, free: 1.926 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-06/0.9896, allocations: 0.7188 kB / 1.098 GB, free: 1.926 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.9897, allocations: 315.4 kB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.619e-05/0.9898, allocations: 18.73 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-05/0.9898, allocations: 8.938 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.725e-05/0.9899, allocations: 12.81 kB / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9899, allocations: 0 / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001653/0.9901, allocations: 62.06 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.9901, allocations: 4.688 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.9901, allocations: 3.938 kB / 1.099 GB, free: 1.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.9902, allocations: 4.812 kB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.9904, allocations: 13.8 kB / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.9904, allocations: 6.562 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.9905, allocations: 18.09 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.9906, allocations: 3.984 kB / 1.099 GB, free: 1.461 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 0.0001155/0.9907, allocations: 113.2 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.9907, allocations: 7.906 kB / 1.099 GB, free: 1.336 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.9908, allocations: 4 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.9908, allocations: 0.5156 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.9908, allocations: 0 / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.9908, allocations: 0 / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.9911, allocations: 151.5 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9911, allocations: 4 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.9913, allocations: 15.98 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.9913, allocations: 0 / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.9913, allocations: 5.594 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.9913, allocations: 7.844 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.9913, allocations: 0.7031 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002029/0.9915, allocations: 151.5 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00032/0.9919, allocations: 0.5269 MB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.9919, allocations: 86.83 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.992, allocations: 0 / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.9922, allocations: 11.98 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.9923, allocations: 11.98 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.9923, allocations: 0 / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of sort global known variables: time 6.146e-05/0.9924, allocations: 91.27 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.001105/0.9935, allocations: 19.84 kB / 1.1 GB, free: 176 kB / 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.0001424/0.9936, allocations: 95.25 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.9938, allocations: 37.16 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9938, allocations: 3.938 kB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.396e-05/0.9939, allocations: 16 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.9942, allocations: 4.641 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.9946, allocations: 88.5 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.9949, allocations: 0.6954 MB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of SimCode: time 8.51e-07/0.995, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)