Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.4909/0.4909, allocations: 94.75 MB / 102 MB, free: 10.3 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001027/0.001028, allocations: 178.8 kB / 125.3 MB, free: 11.95 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.155/1.155, allocations: 170.5 MB / 319 MB, free: 9.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001661/0.001662, allocations: 107.8 kB / 381 MB, free: 18.13 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.023e-06/7.063e-06, allocations: 0 / 448.6 MB, free: 2.051 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1393, allocations: 61.52 MB / 0.4981 GB, free: 4.445 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8205/0.9599, allocations: 389.5 MB / 0.8785 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.9602, allocations: 92.66 kB / 0.8786 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.6838/1.644, allocations: 198.7 MB / 1.073 GB, free: 29.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001274/1.644, allocations: 27.84 kB / 1.073 GB, free: 29.5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002616/1.647, allocations: 1.034 MB / 1.074 GB, free: 28.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.647, allocations: 8.031 kB / 1.074 GB, free: 28.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006587/1.648, allocations: 106.8 kB / 1.074 GB, free: 28.31 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/1.65, allocations: 0.8339 MB / 1.075 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/1.65, allocations: 16 kB / 1.075 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/1.65, allocations: 31.98 kB / 1.075 GB, free: 27.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005671/1.651, allocations: 305.5 kB / 1.075 GB, free: 27.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006769/1.651, allocations: 474.6 kB / 1.075 GB, free: 26.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/1.651, allocations: 0 / 1.075 GB, free: 26.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.451e-05/1.651, allocations: 0 / 1.075 GB, free: 26.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/1.651, allocations: 15.94 kB / 1.075 GB, free: 26.59 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/1.654, allocations: 1.915 MB / 1.077 GB, free: 24.58 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/1.655, allocations: 316.8 kB / 1.078 GB, free: 24.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/1.655, allocations: 125.3 kB / 1.078 GB, free: 24.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.502e-05/1.655, allocations: 89.34 kB / 1.078 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/1.655, allocations: 38.73 kB / 1.078 GB, free: 23.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 1.774e-06/1.655, allocations: 0 / 1.078 GB, free: 23.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.001108/1.656, allocations: 408.3 kB / 1.078 GB, free: 23.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/1.657, allocations: 265 kB / 1.078 GB, free: 23.26 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007581/1.657, allocations: 0.6447 MB / 1.079 GB, free: 22.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.721e-05/1.657, allocations: 25.7 kB / 1.079 GB, free: 22.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/1.658, allocations: 259.8 kB / 1.079 GB, free: 22.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.089e-05/1.658, allocations: 98.55 kB / 1.079 GB, free: 22.22 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/1.658, allocations: 0 / 1.079 GB, free: 22.22 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.2e-05/1.658, allocations: 330 kB / 1.08 GB, free: 21.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/1.658, allocations: 148.8 kB / 1.08 GB, free: 21.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/1.658, allocations: 334.6 kB / 1.08 GB, free: 21.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009059/1.659, allocations: 267.4 kB / 1.08 GB, free: 21.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/1.659, allocations: 0 / 1.08 GB, free: 21.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001539/1.661, allocations: 0.6259 MB / 1.081 GB, free: 20.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002128/1.661, allocations: 1.047 MB / 1.082 GB, free: 19.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/1.661, allocations: 7.984 kB / 1.082 GB, free: 19.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006041/1.662, allocations: 100.8 kB / 1.082 GB, free: 19.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008226/1.662, allocations: 135.8 kB / 1.082 GB, free: 19.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/1.664, allocations: 1.345 MB / 1.084 GB, free: 17.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008883/1.665, allocations: 71.61 kB / 1.084 GB, free: 17.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-05/1.665, allocations: 23.98 kB / 1.084 GB, free: 17.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.665, allocations: 5.25 kB / 1.084 GB, free: 17.59 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009129/1.666, allocations: 432.2 kB / 1.084 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/1.666, allocations: 4 kB / 1.084 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002867/1.666, allocations: 57.08 kB / 1.084 GB, free: 17.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/1.667, allocations: 103.9 kB / 1.084 GB, free: 17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000994/1.668, allocations: 1.392 MB / 1.086 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007153/1.668, allocations: 63.81 kB / 1.086 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/1.668, allocations: 23.98 kB / 1.086 GB, free: 15.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001748/1.669, allocations: 128.7 kB / 1.086 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/1.669, allocations: 75.06 kB / 1.086 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/1.67, allocations: 499.7 kB / 1.086 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.67, allocations: 4 kB / 1.086 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/1.67, allocations: 0 / 1.086 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.67, allocations: 3.984 kB / 1.086 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/1.672, allocations: 1.031 MB / 1.087 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.672, allocations: 8 kB / 1.087 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/1.673, allocations: 91.95 kB / 1.088 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003939/1.673, allocations: 76.7 kB / 1.088 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/1.673, allocations: 11.92 kB / 1.088 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009761/1.674, allocations: 1.259 MB / 1.089 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.674, allocations: 7.891 kB / 1.089 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001476/1.676, allocations: 0.7247 MB / 1.09 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/1.676, allocations: 164.1 kB / 1.09 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/1.676, allocations: 7.984 kB / 1.09 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/1.677, allocations: 35.91 kB / 1.09 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/1.677, allocations: 23.97 kB / 1.09 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/1.677, allocations: 11.98 kB / 1.09 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0005833/1.677, allocations: 0.4952 MB / 1.09 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001496/1.679, allocations: 467 kB / 1.091 GB, free: 10.15 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (23): * Single equations (assignments): 21 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/1.68, allocations: 0.4956 MB / 1.091 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001798/1.682, allocations: 0.8817 MB / 1.092 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.682, allocations: 0 / 1.092 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006447/1.683, allocations: 208.6 kB / 1.092 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/1.684, allocations: 224.9 kB / 1.092 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/1.686, allocations: 0.9604 MB / 1.093 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006013/1.686, allocations: 1.04 MB / 1.094 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/1.686, allocations: 0 / 1.094 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of Templates: time 0.2471/1.934, allocations: 18.19 MB / 1.112 GB, free: 178.2 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)