Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",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 9.1.1-maint.9.1.x/package.mo): time 1.825/1.825, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001001/0.001001, allocations: 177.3 kB / 487 MB, free: 5.414 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.144/1.144, allocations: 221.3 MB / 0.7819 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008022/0.0008022, allocations: 93.56 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.399/0.3999, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.5827, allocations: 142.3 MB / 1.205 GB, free: 26.05 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5277/1.11, allocations: 152.6 MB / 1.354 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001793/1.111, allocations: 75.06 kB / 1.354 GB, free: 15.88 MB / 0.8073 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.02707/1.138, allocations: 11.18 MB / 1.365 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/1.138, allocations: 13 kB / 1.365 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/1.138, allocations: 27.62 kB / 1.365 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/1.138, allocations: 399.5 kB / 1.366 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/1.138, allocations: 4 kB / 1.366 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/1.138, allocations: 4 kB / 1.366 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001131/1.139, allocations: 65.16 kB / 1.366 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/1.139, allocations: 94.33 kB / 1.366 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/1.139, allocations: 4 kB / 1.366 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/1.139, allocations: 0 / 1.366 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.139, allocations: 3.906 kB / 1.366 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/1.139, allocations: 491.7 kB / 1.366 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/1.139, allocations: 125.4 kB / 1.366 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/1.139, allocations: 47.28 kB / 1.367 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/1.139, allocations: 3.75 kB / 1.367 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/1.14, allocations: 99.75 kB / 1.367 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/1.14, allocations: 0 / 1.367 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002397/1.14, allocations: 149.7 kB / 1.367 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.551e-05/1.14, allocations: 51.41 kB / 1.367 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/1.14, allocations: 461.8 kB / 1.367 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/1.14, allocations: 25.7 kB / 1.367 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/1.14, allocations: 125.8 kB / 1.367 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/1.14, allocations: 39.17 kB / 1.367 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/1.14, allocations: 0 / 1.367 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.995e-05/1.14, allocations: 352.8 kB / 1.368 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/1.141, allocations: 108.3 kB / 1.368 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/1.141, allocations: 143.6 kB / 1.368 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/1.141, allocations: 142 kB / 1.368 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.141, allocations: 0 / 1.368 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005185/1.142, allocations: 362.8 kB / 1.368 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/1.142, allocations: 4 kB / 1.368 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/1.142, allocations: 0 / 1.368 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/1.142, allocations: 4 kB / 1.368 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/1.142, allocations: 47.91 kB / 1.369 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/1.142, allocations: 4.219 kB / 1.369 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/1.142, allocations: 15.78 kB / 1.369 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/1.142, allocations: 19.48 kB / 1.369 GB, free: 8.355 MB / 0.8073 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,intEqu.u1,intEqu.u2,intEqu.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 6.047e-05/1.142, allocations: 121 kB / 1.369 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/1.142, allocations: 35.53 kB / 1.369 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/1.142, allocations: 172.7 kB / 1.369 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/1.142, allocations: 0 / 1.369 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.142, allocations: 0 / 1.369 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.142, allocations: 0 / 1.369 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/1.143, allocations: 280.6 kB / 1.369 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.143, allocations: 7.984 kB / 1.369 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.518e-05/1.143, allocations: 15.94 kB / 1.369 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.143, allocations: 0 / 1.369 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/1.143, allocations: 11.8 kB / 1.369 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.143, allocations: 0 / 1.369 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.143, allocations: 0 / 1.369 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001933/1.143, allocations: 189.1 kB / 1.369 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002242/1.143, allocations: 0.5627 MB / 1.37 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/1.143, allocations: 120.5 kB / 1.37 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/1.143, allocations: 11.91 kB / 1.37 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/1.143, allocations: 4 kB / 1.37 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/1.143, allocations: 23.66 kB / 1.37 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/1.143, allocations: 4 kB / 1.37 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002302/1.144, allocations: 308 kB / 1.37 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008256/1.145, allocations: 70.98 kB / 1.37 GB, free: 6.578 MB / 0.8073 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,intEqu.u1,intEqu.u2,intEqu.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.0005593/1.145, allocations: 331.9 kB / 1.371 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002342/1.145, allocations: 185.4 kB / 1.371 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/1.145, allocations: 4 kB / 1.371 GB, free: 6.207 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.349e-05/1.145, allocations: 54.48 kB / 1.371 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/1.146, allocations: 88.89 kB / 1.371 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/1.146, allocations: 427.7 kB / 1.371 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/1.147, allocations: 0.8352 MB / 1.372 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of SimCode: time 2.61e-07/1.147, allocations: 0 / 1.372 GB, free: 4.855 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1)