Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",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.337/1.337, allocations: 285.5 MB / 292.8 MB, free: 9.887 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.0008759/0.0008759, allocations: 185.2 kB / 361.1 MB, free: 388 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.039/1.039, allocations: 205.2 MB / 0.6195 GB, free: 2.902 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.0007446/0.0007447, allocations: 92.19 kB / 0.7326 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3577/0.3584, allocations: 121.5 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.5065, allocations: 115.3 MB / 0.9638 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4222/0.9288, allocations: 140.7 MB / 1.101 GB, free: 31.87 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001768/0.929, allocations: 74.09 kB / 1.101 GB, free: 31.87 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01546/0.9445, allocations: 7.014 MB / 1.108 GB, free: 31.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.9445, allocations: 15.19 kB / 1.108 GB, free: 31.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.9446, allocations: 27.16 kB / 1.108 GB, free: 31.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.945, allocations: 324.8 kB / 1.108 GB, free: 30.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.9451, allocations: 7.922 kB / 1.108 GB, free: 30.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.9451, allocations: 3.938 kB / 1.108 GB, free: 30.86 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.586e-05/0.9452, allocations: 40.34 kB / 1.109 GB, free: 30.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.81e-05/0.9453, allocations: 73.11 kB / 1.109 GB, free: 30.83 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.9453, allocations: 7.875 kB / 1.109 GB, free: 30.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.9453, allocations: 0 / 1.109 GB, free: 30.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.9453, allocations: 3.906 kB / 1.109 GB, free: 30.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.9458, allocations: 411.5 kB / 1.109 GB, free: 30.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.946, allocations: 75.98 kB / 1.109 GB, free: 30.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.946, allocations: 31.73 kB / 1.109 GB, free: 30.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.946, allocations: 0 / 1.109 GB, free: 30.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.031e-05/0.9461, allocations: 77.83 kB / 1.109 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.9461, allocations: 0 / 1.109 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000175/0.9463, allocations: 91.97 kB / 1.109 GB, free: 30.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.62e-05/0.9463, allocations: 51.41 kB / 1.109 GB, free: 30.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.9466, allocations: 316.8 kB / 1.11 GB, free: 30.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.9466, allocations: 29.7 kB / 1.11 GB, free: 30.24 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.9467, allocations: 113.5 kB / 1.11 GB, free: 30.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.9467, allocations: 26.14 kB / 1.11 GB, free: 30.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.9467, allocations: 0 / 1.11 GB, free: 30.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.9468, allocations: 341.9 kB / 1.11 GB, free: 29.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.77e-05/0.9468, allocations: 66.06 kB / 1.11 GB, free: 29.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.216e-05/0.9469, allocations: 83.33 kB / 1.11 GB, free: 29.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.9471, allocations: 79.7 kB / 1.11 GB, free: 29.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9471, allocations: 0 / 1.11 GB, free: 29.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003157/0.9474, allocations: 204 kB / 1.111 GB, free: 29.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.9475, allocations: 6.688 kB / 1.111 GB, free: 29.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.9475, allocations: 3.938 kB / 1.111 GB, free: 29.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.9475, allocations: 6.172 kB / 1.111 GB, free: 29.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.9476, allocations: 24.47 kB / 1.111 GB, free: 29.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.9476, allocations: 0 / 1.111 GB, free: 29.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.9477, allocations: 24.41 kB / 1.111 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.9478, allocations: 11.31 kB / 1.111 GB, free: 29.73 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.2e-05/0.9478, allocations: 112.5 kB / 1.111 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.9479, allocations: 21.34 kB / 1.111 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.948, allocations: 103 kB / 1.111 GB, free: 29.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.948, allocations: 3.938 kB / 1.111 GB, free: 29.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.948, allocations: 4 kB / 1.111 GB, free: 29.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.9481, allocations: 0 / 1.111 GB, free: 29.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.9482, allocations: 231 kB / 1.111 GB, free: 29.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.9482, allocations: 4 kB / 1.111 GB, free: 29.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.9482, allocations: 3.156 kB / 1.111 GB, free: 29.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.9482, allocations: 3.219 kB / 1.111 GB, free: 29.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.9482, allocations: 0 / 1.111 GB, free: 29.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.9482, allocations: 0 / 1.111 GB, free: 29.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9483, allocations: 0 / 1.111 GB, free: 29.41 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001272/0.9484, allocations: 135.8 kB / 1.111 GB, free: 29.32 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002075/0.9486, allocations: 0.4975 MB / 1.112 GB, free: 44.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.9487, allocations: 105.8 kB / 1.112 GB, free: 44.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.9487, allocations: 5.922 kB / 1.112 GB, free: 44.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.862e-05/0.9488, allocations: 17.7 kB / 1.112 GB, free: 44.76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.9488, allocations: 8.906 kB / 1.112 GB, free: 44.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.9489, allocations: 3.75 kB / 1.112 GB, free: 44.76 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.00016/0.949, allocations: 217.2 kB / 1.112 GB, free: 44.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007941/0.9498, allocations: 62.86 kB / 1.112 GB, free: 44.66 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: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005601/0.9504, allocations: 340.6 kB / 1.112 GB, free: 44.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.9506, allocations: 100.3 kB / 1.112 GB, free: 44.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.9506, allocations: 0 / 1.112 GB, free: 44.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.944e-05/0.9506, allocations: 26.88 kB / 1.113 GB, free: 44.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.9509, allocations: 51.17 kB / 1.113 GB, free: 44.47 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004595/0.9514, allocations: 281.3 kB / 1.113 GB, free: 44.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/0.9517, allocations: 0.7762 MB / 1.114 GB, free: 43.65 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.9517, allocations: 0 / 1.114 GB, free: 43.65 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)