Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") [: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.775/1.775, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001005/0.001006, allocations: 177.2 kB / 487 MB, free: 5.363 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.115/1.115, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.0008068/0.0008069, allocations: 90.19 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.603e-05/1.613e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1861, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5175/0.7036, allocations: 148.2 MB / 1.35 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001578/0.7038, allocations: 73.75 kB / 1.35 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002211/0.706, allocations: 0.6268 MB / 1.351 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.706, allocations: 1.438 kB / 1.351 GB, free: 15.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002778/0.7063, allocations: 351.5 kB / 1.351 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.7064, allocations: 11.06 kB / 1.351 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.7064, allocations: 6.812 kB / 1.351 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/0.7065, allocations: 170.8 kB / 1.351 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.7065, allocations: 2.375 kB / 1.351 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.7065, allocations: 1.969 kB / 1.351 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.964e-05/0.7066, allocations: 24.8 kB / 1.351 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.077e-05/0.7067, allocations: 47.53 kB / 1.351 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.7067, allocations: 0 / 1.351 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.7067, allocations: 5.219 kB / 1.351 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.7067, allocations: 0 / 1.351 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.707, allocations: 262.7 kB / 1.352 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.065e-05/0.7071, allocations: 48.02 kB / 1.352 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/0.7071, allocations: 37.88 kB / 1.352 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.7071, allocations: 1.406 kB / 1.352 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.158e-06/0.7072, allocations: 31.88 kB / 1.352 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.7072, allocations: 0 / 1.352 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001432/0.7073, allocations: 58.5 kB / 1.352 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.179e-05/0.7073, allocations: 53.12 kB / 1.352 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.59e-05/0.7074, allocations: 98.42 kB / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.7074, allocations: 25.7 kB / 1.352 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.746e-05/0.7074, allocations: 94.58 kB / 1.352 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.7074, allocations: 4.906 kB / 1.352 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.7074, allocations: 0 / 1.352 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.242e-05/0.7075, allocations: 319.3 kB / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.7075, allocations: 9.219 kB / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.146e-05/0.7075, allocations: 10.94 kB / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/0.7076, allocations: 11.48 kB / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.7076, allocations: 1.281 kB / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.502e-05/0.7077, allocations: 59.52 kB / 1.352 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/0.7077, allocations: 9.5 kB / 1.352 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.7077, allocations: 0 / 1.352 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.7077, allocations: 3.938 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.7078, allocations: 16.12 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.7078, allocations: 1.172 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.276e-05/0.7079, allocations: 21.86 kB / 1.352 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.7079, allocations: 1.375 kB / 1.352 GB, free: 14.13 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (addPar.u,addPar.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 3.713e-05/0.708, allocations: 106.3 kB / 1.352 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.708, allocations: 12.72 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.92e-05/0.708, allocations: 6.625 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.708, allocations: 3.938 kB / 1.353 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.708, allocations: 1.156 kB / 1.353 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7081, allocations: 0 / 1.353 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.7082, allocations: 152.2 kB / 1.353 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.7082, allocations: 5.5 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.903e-05/0.7083, allocations: 16.52 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7083, allocations: 0 / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.7083, allocations: 5.125 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7083, allocations: 1.312 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7083, allocations: 1.719 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001034/0.7084, allocations: 161.8 kB / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.7084, allocations: 79.38 kB / 1.353 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.7085, allocations: 1.062 kB / 1.353 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.7086, allocations: 9.328 kB / 1.353 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.7086, allocations: 11.05 kB / 1.353 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.7086, allocations: 7.906 kB / 1.353 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.072e-05/0.7087, allocations: 89.06 kB / 1.353 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002005/0.7089, allocations: 16.25 kB / 1.353 GB, free: 13.52 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: 2 (addPar.u,addPar.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.058e-05/0.7089, allocations: 101.3 kB / 1.353 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.996e-05/0.709, allocations: 28.34 kB / 1.353 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.709, allocations: 0 / 1.353 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.7091, allocations: 25.81 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.7092, allocations: 4.938 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.7094, allocations: 79.8 kB / 1.353 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.7096, allocations: 0.7011 MB / 1.354 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of SimCode: time 2.3e-07/0.7096, allocations: 0 / 1.354 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of Templates: time 0.002266/0.7118, allocations: 0.787 MB / 1.355 GB, free: 12.6 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches