Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch") translateModel(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.264/2.264, allocations: 284.9 MB / 292.2 MB, free: 14.68 MB / 238.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001627/0.001626, allocations: 189.2 kB / 360.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.1 MB / 0.6188 GB, free: 4.613 MB / 462.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001254/0.001253, allocations: 88.78 kB / 0.7318 GB, free: 53.64 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 7.444e-06/7.595e-06, allocations: 0 / 0.8502 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2625, allocations: 115.2 MB / 0.9628 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.648/5.91, allocations: 2.359 GB / 3.321 GB, free: 207.1 MB / 0.9512 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/5.911, allocations: 95.62 kB / 3.322 GB, free: 207 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.697/10.61, allocations: 1.038 GB / 4.36 GB, free: 125.1 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004131/10.61, allocations: 48.97 kB / 4.36 GB, free: 125.1 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.01046/10.62, allocations: 2.305 MB / 4.362 GB, free: 124.1 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/10.62, allocations: 7.281 kB / 4.362 GB, free: 124.1 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006012/10.62, allocations: 0.5947 MB / 4.363 GB, free: 124 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007464/10.63, allocations: 2.042 MB / 4.365 GB, free: 123.7 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001286/10.63, allocations: 193.4 kB / 4.365 GB, free: 123.7 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006404/10.63, allocations: 75.75 kB / 4.365 GB, free: 123.7 MB / 0.9512 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004266/10.64, allocations: 1.394 MB / 4.366 GB, free: 123.7 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003886/10.64, allocations: 1.394 MB / 4.368 GB, free: 123.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/10.64, allocations: 0 / 4.368 GB, free: 123.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002123/10.64, allocations: 5.406 kB / 4.368 GB, free: 123.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.615e-05/10.64, allocations: 42.56 kB / 4.368 GB, free: 123.4 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01839/10.66, allocations: 7.177 MB / 4.375 GB, free: 120.6 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003391/10.66, allocations: 1.216 MB / 4.376 GB, free: 120.5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/10.67, allocations: 0.5798 MB / 4.376 GB, free: 120.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/10.67, allocations: 0.7264 MB / 4.377 GB, free: 119.8 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/10.67, allocations: 43.84 kB / 4.377 GB, free: 119.7 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=71): time 3.256e-06/10.67, allocations: 0 / 4.377 GB, free: 119.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71): time 0.00624/10.67, allocations: 1.482 MB / 4.379 GB, free: 119.6 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/10.67, allocations: 195.2 kB / 4.379 GB, free: 119.4 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/10.68, allocations: 1.54 MB / 4.38 GB, free: 119.2 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004309/10.68, allocations: 28.11 kB / 4.38 GB, free: 119.2 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004415/10.68, allocations: 0.5105 MB / 4.381 GB, free: 118.9 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/10.68, allocations: 230.8 kB / 4.381 GB, free: 118.8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/10.68, allocations: 0 / 4.381 GB, free: 118.8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001173/10.68, allocations: 365.9 kB / 4.381 GB, free: 118.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/10.68, allocations: 0.9412 MB / 4.382 GB, free: 118.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002576/10.68, allocations: 1.363 MB / 4.384 GB, free: 118 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004812/10.69, allocations: 1.262 MB / 4.385 GB, free: 118 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/10.69, allocations: 6.453 kB / 4.385 GB, free: 118 MB / 0.9512 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.008927/10.7, allocations: 2.64 MB / 4.387 GB, free: 117.9 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006587/10.7, allocations: 2.924 MB / 4.39 GB, free: 114.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.704e-05/10.7, allocations: 10.56 kB / 4.39 GB, free: 114.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.121e-05/10.7, allocations: 15.12 kB / 4.39 GB, free: 114.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003726/10.7, allocations: 405.6 kB / 4.391 GB, free: 114.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.784e-05/10.7, allocations: 21.88 kB / 4.391 GB, free: 114.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003944/10.71, allocations: 275 kB / 4.391 GB, free: 114.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005789/10.71, allocations: 92.31 kB / 4.391 GB, free: 114.8 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/10.71, allocations: 6.156 kB / 4.391 GB, free: 114.8 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007794/10.71, allocations: 2.463 MB / 4.393 GB, free: 114.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.343e-05/10.71, allocations: 16.52 kB / 4.393 GB, free: 114.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/10.71, allocations: 14.44 kB / 4.393 GB, free: 114.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/10.72, allocations: 407.9 kB / 4.394 GB, free: 114.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/10.72, allocations: 12.97 kB / 4.394 GB, free: 114.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003741/10.72, allocations: 238.7 kB / 4.394 GB, free: 114.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000405/10.72, allocations: 90.11 kB / 4.394 GB, free: 114.7 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 (vavBra.terHea.flowRegime,vavBra.vav.idx_sorted[1],vavBra.vav.idx_sorted[2],vavBra.vav.idx_sorted[3],vavBra.vav.idx_sorted[4],vavBra.vav.idx_sorted[5],vavBra.vav.idx_sorted[6],vavBra.vav.idx_sorted[7],vavBra.vav.idx_sorted[8],vavBra.vav.idx_sorted[9],vavBra.vav.idx_sorted[10],vavBra.vav.idx_sorted[11],vavBra.vav.idx_sorted[12],vavBra.vav.idx_sorted[13],vavBra.terHea.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 160 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0005007/10.72, allocations: 153.3 kB / 4.394 GB, free: 114.6 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006847/10.72, allocations: 148.4 kB / 4.394 GB, free: 114.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006413/10.73, allocations: 1.679 MB / 4.396 GB, free: 114.4 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/10.73, allocations: 7.094 kB / 4.396 GB, free: 114.4 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/10.73, allocations: 7.906 kB / 4.396 GB, free: 114.4 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/10.73, allocations: 3.891 kB / 4.396 GB, free: 114.4 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/10.74, allocations: 3.629 MB / 4.4 GB, free: 113.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/10.74, allocations: 0 / 4.4 GB, free: 113.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002353/10.74, allocations: 251.2 kB / 4.4 GB, free: 113.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/10.74, allocations: 6.875 kB / 4.4 GB, free: 113.9 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/10.74, allocations: 24.09 kB / 4.4 GB, free: 113.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/10.74, allocations: 3.625 kB / 4.4 GB, free: 113.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/10.74, allocations: 6.047 kB / 4.4 GB, free: 113.9 MB / 0.9512 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007825/10.75, allocations: 2.67 MB / 4.403 GB, free: 113.4 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/10.75, allocations: 493.5 kB / 4.403 GB, free: 113.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005522/10.75, allocations: 7.781 kB / 4.403 GB, free: 113.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003017/10.76, allocations: 148.3 kB / 4.403 GB, free: 113.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/10.76, allocations: 61.83 kB / 4.403 GB, free: 113.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001944/10.76, allocations: 56.72 kB / 4.403 GB, free: 113.2 MB / 0.9512 GB Notification: Performance of sort global known variables: time 0.002724/10.76, allocations: 1.139 MB / 4.404 GB, free: 113.1 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.006/10.77, allocations: 1.188 MB / 4.406 GB, free: 112.9 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vavBra.vav.filter.x[1],vavBra.vav.filter.x[2]) * Number of discrete variables: 1 (vavBra.terHea.flowRegime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.005421/10.77, allocations: 2.769 MB / 4.408 GB, free: 112.1 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007059/10.78, allocations: 3.232 MB / 4.411 GB, free: 112 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/10.78, allocations: 0 / 4.411 GB, free: 112 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001494/10.78, allocations: 0.5897 MB / 4.412 GB, free: 112 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/10.78, allocations: 443.8 kB / 4.412 GB, free: 112 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009424/10.79, allocations: 2.36 MB / 4.415 GB, free: 111.4 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002864/10.8, allocations: 1.514 MB / 4.416 GB, free: 110.7 MB / 0.9512 GB Notification: Performance of SimCode: time 1.513e-06/10.8, allocations: 0 / 4.416 GB, free: 110.7 MB / 0.9512 GB Notification: Performance of Templates: time 0.1507/10.95, allocations: 50.74 MB / 4.466 GB, free: 108.3 MB / 0.9512 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & ./Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1)