Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.242/1.242, allocations: 249.4 MB / 256.7 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 185.2 kB / 316 MB, free: 3.523 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.158/1.158, allocations: 205.1 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 87.39 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3427/0.3439, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.4967, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.9462, allocations: 131.6 MB / 1.013 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.9465, allocations: 74.94 kB / 1.013 GB, free: 6.812 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.002716/0.9492, allocations: 0.931 MB / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.9492, allocations: 8 kB / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.9493, allocations: 7.844 kB / 1.014 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.9494, allocations: 167.3 kB / 1.014 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.9494, allocations: 3.438 kB / 1.014 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.9494, allocations: 4 kB / 1.014 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.588e-05/0.9495, allocations: 15.22 kB / 1.014 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.684e-05/0.9496, allocations: 43.44 kB / 1.014 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.9496, allocations: 4 kB / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.9496, allocations: 0 / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.9496, allocations: 4 kB / 1.014 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.9502, allocations: 291.2 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.38e-05/0.9502, allocations: 33.5 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.9503, allocations: 16.73 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.9503, allocations: 4 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.9503, allocations: 34.64 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.9503, allocations: 0 / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001499/0.9505, allocations: 48.36 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.9505, allocations: 51.41 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.478e-05/0.9506, allocations: 104.8 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.9506, allocations: 25.7 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.9506, allocations: 94.7 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.9507, allocations: 7.844 kB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.9507, allocations: 0 / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.9508, allocations: 318.8 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.9508, allocations: 7.875 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.9508, allocations: 7.688 kB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.8e-05/0.9509, allocations: 4 kB / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.9509, allocations: 0 / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.213e-05/0.9509, allocations: 48.23 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.951, allocations: 4 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.951, allocations: 7.984 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.951, allocations: 4 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.9511, allocations: 15.98 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.9512, allocations: 4 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.793e-05/0.9513, allocations: 19.98 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.9513, allocations: 4 kB / 1.016 GB, free: 4.438 MB / 0.6355 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 (greater1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.054e-05/0.9513, allocations: 108.8 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.9514, allocations: 7.984 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.9514, allocations: 11.81 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.9514, allocations: 3.906 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.9514, allocations: 0 / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.9514, allocations: 0 / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.9516, allocations: 142.2 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.9516, allocations: 0 / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.9517, allocations: 31.55 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9517, allocations: 0 / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.9517, allocations: 3.984 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.9517, allocations: 3.375 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.9517, allocations: 0 / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001173/0.9518, allocations: 141.2 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002211/0.9521, allocations: 0.5178 MB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.9521, allocations: 89 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.9521, allocations: 3.938 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.9523, allocations: 23.98 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.9523, allocations: 4.266 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.9523, allocations: 0 / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.864e-05/0.9524, allocations: 87.53 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007483/0.9531, allocations: 7.906 kB / 1.017 GB, free: 3.195 MB / 0.6355 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 (greater1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001386/0.9533, allocations: 99.25 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.151e-05/0.9534, allocations: 30.16 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.9534, allocations: 7.188 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.9534, allocations: 15.5 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.9536, allocations: 0 / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/0.9539, allocations: 80.69 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003661/0.9543, allocations: 0.6954 MB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of SimCode: time 3.4e-07/0.9543, allocations: 4 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1)