Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.384/1.384, allocations: 289.8 MB / 297.1 MB, free: 8.969 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.0009845/0.0009845, allocations: 177.3 kB / 366.3 MB, free: 11.21 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.098/1.098, allocations: 205.1 MB / 0.6256 GB, free: 11.43 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000843/0.000843, allocations: 89.2 kB / 0.7396 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.3818/0.3826, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.5474, allocations: 116.3 MB / 0.9727 GB, free: 31.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4602/1.008, allocations: 141.8 MB / 1.111 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/1.008, allocations: 76.59 kB / 1.111 GB, free: 16.44 MB / 0.6823 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.02733/1.035, allocations: 10.88 MB / 1.122 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/1.035, allocations: 9.5 kB / 1.122 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/1.035, allocations: 31.67 kB / 1.122 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/1.036, allocations: 407 kB / 1.122 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/1.036, allocations: 4.109 kB / 1.122 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/1.036, allocations: 5.156 kB / 1.122 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001327/1.036, allocations: 58.61 kB / 1.122 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/1.036, allocations: 102.4 kB / 1.122 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/1.036, allocations: 3.984 kB / 1.122 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/1.036, allocations: 0.9688 kB / 1.122 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/1.036, allocations: 7.344 kB / 1.122 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000664/1.037, allocations: 478.2 kB / 1.123 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/1.037, allocations: 126.3 kB / 1.123 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.952e-05/1.037, allocations: 45.67 kB / 1.123 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/1.037, allocations: 1.516 kB / 1.123 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/1.038, allocations: 101.9 kB / 1.123 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.953e-06/1.038, allocations: 0 / 1.123 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0003004/1.038, allocations: 153.2 kB / 1.123 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.851e-05/1.038, allocations: 53.38 kB / 1.123 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005252/1.038, allocations: 462.6 kB / 1.124 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/1.038, allocations: 33.73 kB / 1.124 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/1.039, allocations: 128.6 kB / 1.124 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/1.039, allocations: 34.78 kB / 1.124 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/1.039, allocations: 0 / 1.124 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.428e-05/1.039, allocations: 351.4 kB / 1.124 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/1.039, allocations: 108.6 kB / 1.124 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/1.039, allocations: 137.3 kB / 1.125 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/1.039, allocations: 145.3 kB / 1.125 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.039, allocations: 0 / 1.125 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006313/1.04, allocations: 357 kB / 1.125 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/1.04, allocations: 9.312 kB / 1.125 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.04, allocations: 1.281 kB / 1.125 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/1.04, allocations: 5.188 kB / 1.125 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/1.04, allocations: 58.77 kB / 1.125 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/1.04, allocations: 5.391 kB / 1.125 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/1.041, allocations: 15.48 kB / 1.125 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/1.041, allocations: 14.02 kB / 1.125 GB, free: 13.99 MB / 0.6823 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.728e-05/1.041, allocations: 114.7 kB / 1.125 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/1.041, allocations: 35.7 kB / 1.125 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/1.041, allocations: 170.9 kB / 1.125 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/1.041, allocations: 1.344 kB / 1.125 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.041, allocations: 0 / 1.125 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.041, allocations: 1.5 kB / 1.125 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/1.041, allocations: 284.8 kB / 1.126 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.041, allocations: 0 / 1.126 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.211e-05/1.041, allocations: 23.48 kB / 1.126 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.041, allocations: 1.344 kB / 1.126 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/1.041, allocations: 5.578 kB / 1.126 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.041, allocations: 5 kB / 1.126 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.041, allocations: 0 / 1.126 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002389/1.042, allocations: 182 kB / 1.126 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002836/1.042, allocations: 0.5681 MB / 1.127 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/1.042, allocations: 114.2 kB / 1.127 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/1.042, allocations: 16.67 kB / 1.127 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/1.042, allocations: 5.438 kB / 1.127 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/1.042, allocations: 17.69 kB / 1.127 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/1.042, allocations: 4.281 kB / 1.127 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003035/1.043, allocations: 303.3 kB / 1.127 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009247/1.044, allocations: 67.56 kB / 1.127 GB, free: 12.76 MB / 0.6823 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.0005909/1.044, allocations: 334.7 kB / 1.127 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002829/1.044, allocations: 188.2 kB / 1.128 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.044, allocations: 0 / 1.128 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.921e-05/1.045, allocations: 66.31 kB / 1.128 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/1.045, allocations: 77.3 kB / 1.128 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007523/1.046, allocations: 429.4 kB / 1.128 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/1.046, allocations: 0.8247 MB / 1.129 GB, free: 27.58 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/1.046, allocations: 3.938 kB / 1.129 GB, free: 27.57 MB / 0.698 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1)