Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.394/1.394, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001/0.001, allocations: 173.3 kB / 366.3 MB, free: 1.992 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.062/1.062, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0009453/0.0009453, allocations: 99.38 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2069/0.2079, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.6593, allocations: 116.3 MB / 0.9727 GB, free: 68.22 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.798, allocations: 138 MB / 1.107 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.7984, allocations: 75.89 kB / 1.107 GB, free: 10.45 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.00312/0.8015, allocations: 0.9833 MB / 1.108 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.8016, allocations: 12 kB / 1.108 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.8016, allocations: 7.906 kB / 1.108 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.8018, allocations: 178.8 kB / 1.109 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.8018, allocations: 0 / 1.109 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.8018, allocations: 4 kB / 1.109 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.391e-05/0.8019, allocations: 20 kB / 1.109 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.668e-05/0.802, allocations: 53.67 kB / 1.109 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.802, allocations: 3.984 kB / 1.109 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.802, allocations: 0 / 1.109 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.8021, allocations: 4 kB / 1.109 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.8025, allocations: 261.3 kB / 1.109 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.797e-05/0.8026, allocations: 46.58 kB / 1.109 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.8026, allocations: 20.92 kB / 1.109 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.8026, allocations: 7.094 kB / 1.109 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.8027, allocations: 34.56 kB / 1.109 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.8027, allocations: 0 / 1.109 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001804/0.8029, allocations: 57.62 kB / 1.109 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.8029, allocations: 51.41 kB / 1.109 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/0.803, allocations: 105.1 kB / 1.109 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.803, allocations: 25.7 kB / 1.109 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.803, allocations: 92.03 kB / 1.109 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.803, allocations: 3.906 kB / 1.109 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-06/0.8031, allocations: 0 / 1.109 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.8031, allocations: 314.8 kB / 1.11 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.8032, allocations: 12 kB / 1.11 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/0.8032, allocations: 11.98 kB / 1.11 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.644e-05/0.8032, allocations: 12 kB / 1.11 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.8032, allocations: 4 kB / 1.11 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.813e-05/0.8033, allocations: 57.59 kB / 1.11 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.8034, allocations: 6.812 kB / 1.11 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.8034, allocations: 3.938 kB / 1.11 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.8034, allocations: 4 kB / 1.11 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.8035, allocations: 15.92 kB / 1.11 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.8035, allocations: 0 / 1.11 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.961e-05/0.8036, allocations: 23.89 kB / 1.11 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.8036, allocations: 2.344 kB / 1.11 GB, free: 7.863 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 6.441e-05/0.8037, allocations: 108.9 kB / 1.11 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.8037, allocations: 7.906 kB / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.8038, allocations: 8 kB / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.8038, allocations: 0 / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.8038, allocations: 0 / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.8038, allocations: 4 kB / 1.11 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.8039, allocations: 142.2 kB / 1.11 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.8039, allocations: 4 kB / 1.11 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.732e-05/0.804, allocations: 19.97 kB / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8041, allocations: 0 / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.8041, allocations: 6.438 kB / 1.11 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.8041, allocations: 3.906 kB / 1.11 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8041, allocations: 0 / 1.11 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001253/0.8042, allocations: 159.6 kB / 1.11 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002009/0.8044, allocations: 0.5259 MB / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.8045, allocations: 85.02 kB / 1.111 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.8045, allocations: 0 / 1.111 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.8046, allocations: 15.98 kB / 1.111 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.8047, allocations: 7.984 kB / 1.111 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.8047, allocations: 4 kB / 1.111 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.434e-05/0.8047, allocations: 87.27 kB / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007937/0.8055, allocations: 11.91 kB / 1.111 GB, free: 6.57 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 (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.0001157/0.8057, allocations: 111.2 kB / 1.111 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.012e-05/0.8058, allocations: 31.92 kB / 1.111 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.8058, allocations: 3.938 kB / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.8058, allocations: 16 kB / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.806, allocations: 0 / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.8062, allocations: 79.77 kB / 1.111 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.8065, allocations: 0.6954 MB / 1.112 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.8065, allocations: 4 kB / 1.112 GB, free: 5.578 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)