Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.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.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") [: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.548/1.548, allocations: 289.8 MB / 297 MB, free: 6.562 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.001055/0.001055, allocations: 185.2 kB / 366.3 MB, free: 1.906 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.202/1.202, allocations: 205.1 MB / 0.6256 GB, free: 7.41 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.001025/0.001025, allocations: 93.94 kB / 0.7395 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.147e-06/9.277e-06, allocations: 4 kB / 0.859 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6206/0.6206, allocations: 116.3 MB / 0.9725 GB, free: 76.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.888/4.509, allocations: 2.081 GB / 3.054 GB, free: 2.035 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/4.509, allocations: 88.7 kB / 3.054 GB, free: 1.988 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.807/6.316, allocations: 459.9 MB / 3.503 GB, free: 232.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.012e-05/6.316, allocations: 37.2 kB / 3.503 GB, free: 232.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.002245/6.318, allocations: 1.071 MB / 3.504 GB, free: 232.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/6.318, allocations: 11.25 kB / 3.504 GB, free: 232.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/6.319, allocations: 191.7 kB / 3.504 GB, free: 232.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/6.321, allocations: 0.804 MB / 3.505 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/6.321, allocations: 11.09 kB / 3.505 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.41e-05/6.321, allocations: 29.06 kB / 3.505 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004737/6.322, allocations: 281.9 kB / 3.505 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006314/6.322, allocations: 440.7 kB / 3.506 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/6.322, allocations: 0 / 3.506 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/6.322, allocations: 0 / 3.506 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/6.322, allocations: 13.97 kB / 3.506 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/6.325, allocations: 1.911 MB / 3.507 GB, free: 230.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/6.325, allocations: 312.6 kB / 3.508 GB, free: 230.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/6.326, allocations: 138.4 kB / 3.508 GB, free: 230.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/6.326, allocations: 191.9 kB / 3.508 GB, free: 230.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/6.326, allocations: 38.53 kB / 3.508 GB, free: 230.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/6.326, allocations: 0 / 3.508 GB, free: 230.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.001084/6.327, allocations: 411.1 kB / 3.508 GB, free: 230.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/6.327, allocations: 213.3 kB / 3.509 GB, free: 230.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008045/6.328, allocations: 0.6744 MB / 3.509 GB, free: 230.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/6.328, allocations: 29.05 kB / 3.509 GB, free: 230.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/6.328, allocations: 235.7 kB / 3.51 GB, free: 230 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.697e-05/6.328, allocations: 88.31 kB / 3.51 GB, free: 229.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/6.328, allocations: 0 / 3.51 GB, free: 229.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.481e-05/6.328, allocations: 323.2 kB / 3.51 GB, free: 229.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/6.328, allocations: 126.9 kB / 3.51 GB, free: 229.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/6.329, allocations: 347.2 kB / 3.51 GB, free: 229.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/6.329, allocations: 172.2 kB / 3.511 GB, free: 229.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/6.329, allocations: 0 / 3.511 GB, free: 229.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007997/6.33, allocations: 472.9 kB / 3.511 GB, free: 229.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.543e-05/6.33, allocations: 269.7 kB / 3.511 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/6.33, allocations: 7.016 kB / 3.511 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/6.33, allocations: 33.62 kB / 3.511 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/6.331, allocations: 94.14 kB / 3.511 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005599/6.331, allocations: 1.174 MB / 3.513 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008344/6.332, allocations: 96.12 kB / 3.513 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/6.332, allocations: 17.31 kB / 3.513 GB, free: 227.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.295e-06/6.332, allocations: 8.031 kB / 3.513 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006184/6.333, allocations: 344.2 kB / 3.513 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/6.333, allocations: 7.531 kB / 3.513 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001348/6.333, allocations: 37.56 kB / 3.513 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/6.333, allocations: 77.88 kB / 3.513 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009583/6.334, allocations: 1.398 MB / 3.515 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/6.335, allocations: 94.09 kB / 3.515 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/6.335, allocations: 18.56 kB / 3.515 GB, free: 226.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001294/6.335, allocations: 117.2 kB / 3.515 GB, free: 226.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/6.335, allocations: 71.16 kB / 3.515 GB, free: 226.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006957/6.336, allocations: 404.2 kB / 3.515 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/6.336, allocations: 3.938 kB / 3.515 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/6.336, allocations: 3.906 kB / 3.515 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/6.336, allocations: 0 / 3.515 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/6.338, allocations: 1.107 MB / 3.516 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/6.338, allocations: 3.781 kB / 3.516 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/6.338, allocations: 67.95 kB / 3.516 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.28e-05/6.338, allocations: 30.94 kB / 3.516 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/6.338, allocations: 5.625 kB / 3.516 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005293/6.339, allocations: 1.154 MB / 3.517 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/6.339, allocations: 5.094 kB / 3.518 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001112/6.34, allocations: 0.7414 MB / 3.518 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/6.34, allocations: 214.7 kB / 3.518 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/6.34, allocations: 5.344 kB / 3.518 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007109/6.341, allocations: 54.83 kB / 3.518 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/6.341, allocations: 28.53 kB / 3.519 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/6.341, allocations: 14.47 kB / 3.519 GB, free: 224.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007017/6.342, allocations: 0.5279 MB / 3.519 GB, free: 224.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001804/6.344, allocations: 448.4 kB / 3.519 GB, free: 224.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.x[1],dam.filter.x[2],vav.filter.x[1],vav.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00221/6.346, allocations: 1.449 MB / 3.521 GB, free: 224.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001478/6.347, allocations: 0.7512 MB / 3.522 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/6.347, allocations: 1 kB / 3.522 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/6.348, allocations: 159.8 kB / 3.522 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/6.349, allocations: 249.5 kB / 3.522 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/6.351, allocations: 0.9575 MB / 3.523 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005269/6.351, allocations: 1.046 MB / 3.524 GB, free: 222.8 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/6.351, allocations: 0 / 3.524 GB, free: 222.8 MB / 0.948 GB Notification: Performance of Templates: time 0.03586/6.387, allocations: 22.86 MB / 3.546 GB, free: 222.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)