Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqual",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 10.0.0-master/package.mo): time 1.847/1.847, allocations: 390.4 MB / 397.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009833/0.0009834, allocations: 173.2 kB / 490.8 MB, free: 1.938 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 221.4 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008263/0.0008263, allocations: 97.8 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4347/0.4355, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.6153, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5089/1.124, allocations: 153.4 MB / 1.361 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000176/1.124, allocations: 74.72 kB / 1.362 GB, free: 17.23 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.02679/1.151, allocations: 11.19 MB / 1.372 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/1.151, allocations: 8.656 kB / 1.372 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/1.151, allocations: 31.73 kB / 1.372 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007252/1.152, allocations: 394.4 kB / 1.373 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/1.152, allocations: 10.97 kB / 1.373 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/1.152, allocations: 5.141 kB / 1.373 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000142/1.152, allocations: 62.91 kB / 1.373 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/1.153, allocations: 97.12 kB / 1.373 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/1.153, allocations: 0.6562 kB / 1.373 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/1.153, allocations: 0 / 1.373 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.153, allocations: 2.188 kB / 1.373 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007345/1.153, allocations: 495.4 kB / 1.373 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/1.154, allocations: 113.5 kB / 1.374 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/1.154, allocations: 45.38 kB / 1.374 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/1.154, allocations: 9.375 kB / 1.374 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/1.154, allocations: 109 kB / 1.374 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/1.154, allocations: 1.062 kB / 1.374 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002895/1.154, allocations: 148.2 kB / 1.374 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.713e-05/1.154, allocations: 57.19 kB / 1.374 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005351/1.155, allocations: 456 kB / 1.374 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/1.155, allocations: 27.02 kB / 1.374 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/1.155, allocations: 128.8 kB / 1.375 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/1.155, allocations: 32.75 kB / 1.375 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/1.155, allocations: 1.406 kB / 1.375 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.155, allocations: 351.4 kB / 1.375 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/1.155, allocations: 113.7 kB / 1.375 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/1.155, allocations: 143 kB / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/1.156, allocations: 144.8 kB / 1.375 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.156, allocations: 1.031 kB / 1.375 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006367/1.156, allocations: 357 kB / 1.376 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/1.156, allocations: 8.312 kB / 1.376 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.156, allocations: 4.875 kB / 1.376 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/1.156, allocations: 2.031 kB / 1.376 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/1.157, allocations: 51.02 kB / 1.376 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/1.157, allocations: 5.328 kB / 1.376 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/1.157, allocations: 21.5 kB / 1.376 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/1.157, allocations: 15.78 kB / 1.376 GB, free: 30.77 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intGreEqu.u1,intGreEqu.u2,intGreEqu.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 8.009e-05/1.157, allocations: 118.5 kB / 1.376 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/1.157, allocations: 31.03 kB / 1.376 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/1.157, allocations: 179.3 kB / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/1.157, allocations: 5.5 kB / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.157, allocations: 1.516 kB / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.157, allocations: 0.5156 kB / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/1.158, allocations: 279.8 kB / 1.376 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.158, allocations: 1.156 kB / 1.376 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.101e-05/1.158, allocations: 13.16 kB / 1.376 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.158, allocations: 1.484 kB / 1.376 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/1.158, allocations: 3.297 kB / 1.376 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.158, allocations: 1.531 kB / 1.376 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.158, allocations: 1.156 kB / 1.376 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002366/1.158, allocations: 197.3 kB / 1.377 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000314/1.158, allocations: 0.5623 MB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/1.158, allocations: 118.3 kB / 1.377 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/1.158, allocations: 6.312 kB / 1.377 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/1.159, allocations: 15.3 kB / 1.377 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/1.159, allocations: 20.83 kB / 1.377 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/1.159, allocations: 5.266 kB / 1.377 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002978/1.159, allocations: 304.4 kB / 1.378 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008488/1.16, allocations: 66.78 kB / 1.378 GB, free: 29.67 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intGreEqu.u1,intGreEqu.u2,intGreEqu.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005791/1.16, allocations: 331.9 kB / 1.378 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002843/1.161, allocations: 180.8 kB / 1.378 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/1.161, allocations: 0.9688 kB / 1.378 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/1.161, allocations: 66.64 kB / 1.378 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/1.161, allocations: 77.72 kB / 1.378 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000711/1.162, allocations: 428.5 kB / 1.379 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/1.162, allocations: 0.8285 MB / 1.379 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.162, allocations: 0.9688 kB / 1.379 GB, free: 28.62 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqual_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqual.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe 2>&1)