Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.1.4-maint.8.1.x/package.mo): time 1.366/1.366, allocations: 289.8 MB / 297 MB, free: 6.598 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.0009457/0.0009457, allocations: 173.3 kB / 366.3 MB, free: 1.945 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.064/1.064, allocations: 205.1 MB / 0.6256 GB, free: 7.441 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.0008219/0.0008219, allocations: 92.77 kB / 0.7395 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2015/0.2023, allocations: 122.4 MB / 0.8591 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4572/0.6595, allocations: 116.3 MB / 0.9727 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.8001, allocations: 138 MB / 1.107 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/0.8003, allocations: 72.97 kB / 1.107 GB, free: 12.39 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.002804/0.8031, allocations: 0.9799 MB / 1.108 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.8032, allocations: 9.062 kB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.8032, allocations: 5.656 kB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.8033, allocations: 174.9 kB / 1.109 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.8033, allocations: 6.594 kB / 1.109 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.8033, allocations: 0 / 1.109 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.474e-05/0.8034, allocations: 27.98 kB / 1.109 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.365e-05/0.8035, allocations: 50.3 kB / 1.109 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-06/0.8035, allocations: 1.312 kB / 1.109 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.8035, allocations: 0 / 1.109 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.8036, allocations: 4 kB / 1.109 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.8039, allocations: 254.9 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.691e-05/0.804, allocations: 56.36 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.8041, allocations: 24.8 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.8041, allocations: 0.5 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.8041, allocations: 31.3 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.8041, allocations: 0.5312 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001562/0.8043, allocations: 59.11 kB / 1.109 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.8043, allocations: 51.41 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.096e-05/0.8044, allocations: 99.42 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.8044, allocations: 30.48 kB / 1.109 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.8044, allocations: 88.05 kB / 1.109 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.8044, allocations: 13.42 kB / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.8045, allocations: 0.7812 kB / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.8045, allocations: 310.8 kB / 1.11 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.47e-05/0.8046, allocations: 12.62 kB / 1.11 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.163e-05/0.8046, allocations: 8.594 kB / 1.11 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/0.8046, allocations: 16.8 kB / 1.11 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.8046, allocations: 0 / 1.11 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.418e-05/0.8047, allocations: 57.59 kB / 1.11 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.8048, allocations: 4.531 kB / 1.11 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.8048, allocations: 8.656 kB / 1.11 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.8048, allocations: 0 / 1.11 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.8049, allocations: 14.14 kB / 1.11 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.8049, allocations: 5.75 kB / 1.11 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.577e-05/0.805, allocations: 13.36 kB / 1.11 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.805, allocations: 8 kB / 1.11 GB, free: 9.844 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 (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 5.666e-05/0.8051, allocations: 108.9 kB / 1.11 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.8051, allocations: 7.906 kB / 1.11 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.8052, allocations: 8 kB / 1.11 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.8052, allocations: 3.984 kB / 1.11 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.8052, allocations: 3 kB / 1.11 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.8052, allocations: 0 / 1.11 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.8053, allocations: 146.2 kB / 1.11 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.8053, allocations: 5.625 kB / 1.11 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.797e-05/0.8054, allocations: 15.98 kB / 1.11 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.8054, allocations: 0 / 1.11 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.8055, allocations: 4 kB / 1.11 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.8055, allocations: 3.906 kB / 1.11 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8055, allocations: 3.984 kB / 1.11 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001218/0.8056, allocations: 147.5 kB / 1.11 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001887/0.8058, allocations: 0.5298 MB / 1.111 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.8058, allocations: 85.3 kB / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.8059, allocations: 0 / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.806, allocations: 11.98 kB / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.806, allocations: 19.97 kB / 1.111 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.806, allocations: 1.688 kB / 1.111 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.216e-05/0.8061, allocations: 87.34 kB / 1.111 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009103/0.807, allocations: 11.91 kB / 1.111 GB, free: 8.551 MB / 0.7136 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.0001043/0.8071, allocations: 107.2 kB / 1.111 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.176e-05/0.8072, allocations: 31.94 kB / 1.111 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8072, allocations: 3.938 kB / 1.111 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.8073, allocations: 23.98 kB / 1.111 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.8074, allocations: 4 kB / 1.111 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.8077, allocations: 75.77 kB / 1.111 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.8079, allocations: 0.6993 MB / 1.112 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of SimCode: time 3.1e-07/0.8079, allocations: 0 / 1.112 GB, free: 7.555 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)