Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.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.Continuous.Validation.Greater,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",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.178/2.178, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001589/0.001588, allocations: 181.3 kB / 360.3 MB, free: 7.523 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.643/1.643, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.001246/0.001245, allocations: 90.72 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2462/0.2474, allocations: 121.4 MB / 0.8502 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5431/0.7906, allocations: 115.2 MB / 0.9628 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2097/1, allocations: 140.6 MB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/1.001, allocations: 77.19 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.03057/1.031, allocations: 7.127 MB / 1.107 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.031, allocations: 8.5 kB / 1.107 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/1.031, allocations: 28.19 kB / 1.107 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008265/1.032, allocations: 326 kB / 1.107 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/1.032, allocations: 7.938 kB / 1.107 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/1.032, allocations: 4 kB / 1.107 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001704/1.032, allocations: 53.33 kB / 1.107 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/1.033, allocations: 81.66 kB / 1.108 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.033, allocations: 1.594 kB / 1.108 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/1.033, allocations: 8 kB / 1.108 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.033, allocations: 0 / 1.108 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009333/1.034, allocations: 429.1 kB / 1.108 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/1.034, allocations: 70.67 kB / 1.108 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.319e-05/1.034, allocations: 28.98 kB / 1.108 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/1.034, allocations: 7.984 kB / 1.108 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/1.034, allocations: 75.33 kB / 1.108 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/1.034, allocations: 0 / 1.108 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003081/1.035, allocations: 97.38 kB / 1.108 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/1.035, allocations: 51.41 kB / 1.108 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/1.035, allocations: 312.9 kB / 1.109 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/1.035, allocations: 29.7 kB / 1.109 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/1.035, allocations: 116 kB / 1.109 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/1.035, allocations: 23.73 kB / 1.109 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/1.035, allocations: 0 / 1.109 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.036, allocations: 330.7 kB / 1.109 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/1.036, allocations: 71.53 kB / 1.109 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/1.036, allocations: 87.8 kB / 1.109 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/1.036, allocations: 79.92 kB / 1.109 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.036, allocations: 0 / 1.109 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006209/1.037, allocations: 208.3 kB / 1.11 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.037, allocations: 4 kB / 1.11 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.037, allocations: 0 / 1.11 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.037, allocations: 4 kB / 1.11 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/1.037, allocations: 23.92 kB / 1.11 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/1.037, allocations: 1.125 kB / 1.11 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/1.038, allocations: 23.88 kB / 1.11 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/1.038, allocations: 11.98 kB / 1.11 GB, free: 6.371 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 0.0001048/1.038, allocations: 109.5 kB / 1.11 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/1.038, allocations: 23.72 kB / 1.11 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/1.038, allocations: 113.7 kB / 1.11 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.038, allocations: 0 / 1.11 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.038, allocations: 4 kB / 1.11 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.038, allocations: 0 / 1.11 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/1.039, allocations: 226 kB / 1.11 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.039, allocations: 1.562 kB / 1.11 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/1.039, allocations: 8 kB / 1.11 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.039, allocations: 0 / 1.11 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/1.039, allocations: 0 / 1.11 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/1.039, allocations: 3.984 kB / 1.11 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.039, allocations: 0 / 1.11 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002719/1.039, allocations: 128.8 kB / 1.11 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004156/1.039, allocations: 0.5036 MB / 1.111 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/1.04, allocations: 96.92 kB / 1.111 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/1.04, allocations: 3.906 kB / 1.111 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/1.04, allocations: 15.98 kB / 1.111 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/1.04, allocations: 26.02 kB / 1.111 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/1.04, allocations: 0 / 1.111 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003672/1.04, allocations: 209.2 kB / 1.111 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00127/1.042, allocations: 51.94 kB / 1.111 GB, free: 4.773 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: 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.0009259/1.043, allocations: 325.3 kB / 1.111 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003379/1.043, allocations: 108 kB / 1.111 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.043, allocations: 0 / 1.111 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/1.043, allocations: 31.94 kB / 1.111 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/1.044, allocations: 47.58 kB / 1.112 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009138/1.044, allocations: 280.2 kB / 1.112 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005443/1.045, allocations: 0.7823 MB / 1.113 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of SimCode: time 1.443e-06/1.045, allocations: 0 / 1.113 GB, free: 3.301 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1)