Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_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.0.1-maint.8.0.x/package.mo): time 1.377/1.377, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001147/0.001147, allocations: 183.3 kB / 361.1 MB, free: 7.086 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.142/1.142, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0008427/0.0008427, allocations: 88.88 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2103/0.2112, allocations: 121.5 MB / 0.8512 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.6765, allocations: 115.3 MB / 0.9638 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.82, allocations: 137.2 MB / 1.098 GB, free: 2.859 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.8203, allocations: 89.05 kB / 1.098 GB, free: 2.773 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001739/0.822, allocations: 0.6722 MB / 1.098 GB, free: 2.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.8221, allocations: 9.156 kB / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.8221, allocations: 3.906 kB / 1.099 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.712e-05/0.8222, allocations: 165.2 kB / 1.099 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.8222, allocations: 0 / 1.099 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.8222, allocations: 0 / 1.099 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.948e-05/0.8223, allocations: 15.94 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.192e-05/0.8224, allocations: 38.25 kB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.8224, allocations: 1.203 kB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.8224, allocations: 0 / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.8224, allocations: 0.8438 kB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.8228, allocations: 245 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.214e-05/0.8228, allocations: 31.27 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.8229, allocations: 13.52 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.8229, allocations: 2.719 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.8229, allocations: 38.06 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.8229, allocations: 0 / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001263/0.823, allocations: 38.3 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.8231, allocations: 52.03 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.184e-05/0.8232, allocations: 102.4 kB / 1.099 GB, free: 1.238 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.8232, allocations: 25.7 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.8232, allocations: 80.67 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.8232, allocations: 4.5 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-06/0.8232, allocations: 0.9688 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.8234, allocations: 310.8 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.8234, allocations: 8.656 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.266e-05/0.8234, allocations: 4.719 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.778e-05/0.8234, allocations: 8.531 kB / 1.1 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.8234, allocations: 0 / 1.1 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.752e-05/0.8235, allocations: 46.16 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.8235, allocations: 5 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.8235, allocations: 0 / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.8235, allocations: 1.625 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.8236, allocations: 11.17 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.8237, allocations: 7.922 kB / 1.1 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.8237, allocations: 12.62 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.8237, allocations: 8 kB / 1.1 GB, free: 0.6992 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: 1 (lesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.857e-05/0.8238, allocations: 109.4 kB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.8238, allocations: 0 / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.8239, allocations: 7.297 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.8239, allocations: 4 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.8239, allocations: 0 / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.8239, allocations: 4 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.824, allocations: 138.1 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.824, allocations: 0 / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.176e-05/0.8241, allocations: 11.98 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.8241, allocations: 1.75 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.8241, allocations: 0 / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8241, allocations: 0 / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8241, allocations: 0 / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.906e-05/0.8242, allocations: 147.4 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001927/0.8244, allocations: 0.5063 MB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.8245, allocations: 85.03 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.8245, allocations: 0 / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-05/0.8246, allocations: 14.36 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.8246, allocations: 3.984 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.8246, allocations: 4 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.847e-05/0.8247, allocations: 84.78 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007426/0.8254, allocations: 7.906 kB / 1.101 GB, free: 15.5 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: 1 (lesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.824e-05/0.8255, allocations: 107 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.825e-05/0.8256, allocations: 12 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.8256, allocations: 0 / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.8256, allocations: 8 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.8258, allocations: 3.984 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001864/0.826, allocations: 56.73 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.8262, allocations: 0.692 MB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of SimCode: time 2.725e-06/0.8262, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1)