Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.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: translateModel(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch") translateModel(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.487/1.487, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.001056/0.001056, allocations: 177.3 kB / 366.3 MB, free: 1.965 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.358/1.358, allocations: 205.1 MB / 0.6256 GB, free: 5.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008115/0.0008116, allocations: 93.34 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.931e-06/5.951e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4976/0.4976, allocations: 116.3 MB / 0.9726 GB, free: 68.6 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.678/5.175, allocations: 2.36 GB / 3.332 GB, free: 73.89 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/5.176, allocations: 91.94 kB / 3.332 GB, free: 73.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.416/8.591, allocations: 1.038 GB / 4.371 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001766/8.592, allocations: 43.91 kB / 4.371 GB, free: 123.1 MB / 0.9636 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.00649/8.598, allocations: 2.302 MB / 4.373 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/8.598, allocations: 8.031 kB / 4.373 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003163/8.601, allocations: 0.5914 MB / 4.374 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004005/8.605, allocations: 2.045 MB / 4.376 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006156/8.606, allocations: 190.8 kB / 4.376 GB, free: 118 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/8.606, allocations: 79.28 kB / 4.376 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002277/8.609, allocations: 1.398 MB / 4.377 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/8.611, allocations: 1.38 MB / 4.379 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/8.611, allocations: 7.531 kB / 4.379 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/8.611, allocations: 7.844 kB / 4.379 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/8.611, allocations: 45.98 kB / 4.379 GB, free: 115 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/8.621, allocations: 7.16 MB / 4.386 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/8.623, allocations: 1.22 MB / 4.387 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006669/8.624, allocations: 0.5894 MB / 4.388 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007118/8.624, allocations: 0.7144 MB / 4.388 GB, free: 105 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/8.624, allocations: 47.16 kB / 4.388 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=71): time 3.426e-06/8.624, allocations: 6.75 kB / 4.388 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=71): time 0.003328/8.628, allocations: 1.485 MB / 4.39 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/8.628, allocations: 188.6 kB / 4.39 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/8.63, allocations: 1.548 MB / 4.391 GB, free: 101.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/8.63, allocations: 25.7 kB / 4.391 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/8.63, allocations: 0.5018 MB / 4.392 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/8.63, allocations: 239.5 kB / 4.392 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.806e-05/8.63, allocations: 0 / 4.392 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/8.63, allocations: 361.8 kB / 4.392 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/8.632, allocations: 0.9482 MB / 4.393 GB, free: 99.59 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/8.633, allocations: 1.353 MB / 4.395 GB, free: 98.08 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/8.635, allocations: 1.264 MB / 4.396 GB, free: 96.84 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/8.635, allocations: 4 kB / 4.396 GB, free: 96.83 MB / 0.9636 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004246/8.64, allocations: 2.648 MB / 4.399 GB, free: 94.18 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005231/8.64, allocations: 2.917 MB / 4.401 GB, free: 91.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/8.64, allocations: 11.98 kB / 4.401 GB, free: 91.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/8.64, allocations: 16 kB / 4.401 GB, free: 91.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/8.642, allocations: 408 kB / 4.402 GB, free: 90.69 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/8.642, allocations: 12 kB / 4.402 GB, free: 90.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/8.644, allocations: 277.9 kB / 4.402 GB, free: 90.42 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/8.644, allocations: 99.83 kB / 4.402 GB, free: 90.32 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/8.644, allocations: 4 kB / 4.402 GB, free: 90.32 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003867/8.648, allocations: 2.46 MB / 4.405 GB, free: 87.87 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/8.648, allocations: 8 kB / 4.405 GB, free: 87.86 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/8.648, allocations: 12 kB / 4.405 GB, free: 87.85 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/8.65, allocations: 410.1 kB / 4.405 GB, free: 87.46 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/8.65, allocations: 23.83 kB / 4.405 GB, free: 87.44 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/8.652, allocations: 229.7 kB / 4.405 GB, free: 87.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/8.652, allocations: 87.97 kB / 4.405 GB, free: 87.14 MB / 0.9636 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.0003441/8.652, allocations: 157.3 kB / 4.405 GB, free: 86.98 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/8.653, allocations: 150 kB / 4.406 GB, free: 86.84 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003636/8.656, allocations: 1.688 MB / 4.407 GB, free: 85.14 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/8.656, allocations: 8 kB / 4.407 GB, free: 85.14 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/8.656, allocations: 0 / 4.407 GB, free: 85.14 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/8.656, allocations: 3.984 kB / 4.407 GB, free: 85.13 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0062/8.663, allocations: 3.617 MB / 4.411 GB, free: 81.47 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/8.663, allocations: 4 kB / 4.411 GB, free: 81.46 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/8.664, allocations: 253.6 kB / 4.411 GB, free: 81.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/8.664, allocations: 4 kB / 4.411 GB, free: 81.23 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.791e-05/8.664, allocations: 27.97 kB / 4.411 GB, free: 81.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/8.664, allocations: 4 kB / 4.411 GB, free: 81.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/8.664, allocations: 3.75 kB / 4.411 GB, free: 81.2 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004074/8.668, allocations: 2.67 MB / 4.414 GB, free: 78.43 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009844/8.669, allocations: 490.6 kB / 4.414 GB, free: 77.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/8.669, allocations: 8 kB / 4.414 GB, free: 77.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/8.671, allocations: 152.8 kB / 4.414 GB, free: 77.79 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/8.671, allocations: 63.7 kB / 4.414 GB, free: 77.73 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/8.671, allocations: 51.95 kB / 4.414 GB, free: 77.68 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001489/8.673, allocations: 1.138 MB / 4.416 GB, free: 76.55 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003976/8.677, allocations: 1.201 MB / 4.417 GB, free: 75.34 MB / 0.9636 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.00401/8.681, allocations: 2.761 MB / 4.419 GB, free: 73.02 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003911/8.685, allocations: 3.228 MB / 4.423 GB, free: 69.77 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/8.685, allocations: 2 kB / 4.423 GB, free: 69.77 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007645/8.685, allocations: 0.5842 MB / 4.423 GB, free: 69.19 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/8.688, allocations: 456.5 kB / 4.424 GB, free: 68.77 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/8.693, allocations: 2.369 MB / 4.426 GB, free: 66.36 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/8.695, allocations: 1.513 MB / 4.427 GB, free: 64.84 MB / 0.9636 GB Notification: Performance of SimCode: time 1.042e-06/8.695, allocations: 0 / 4.427 GB, free: 64.84 MB / 0.9636 GB Notification: Performance of Templates: time 0.07386/8.769, allocations: 50.75 MB / 4.477 GB, free: 15.14 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.makefile (rm -f Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & ./Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1)