Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper") translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.729/0.729, allocations: 141.8 MB / 149.1 MB, free: 12.37 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001374, allocations: 178.8 kB / 181.9 MB, free: 9.109 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 221.3 MB / 436 MB, free: 1.418 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000907/0.0009072, allocations: 95.39 kB / 0.507 GB, free: 10.3 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001818/0.001818, allocations: 284.5 kB / 0.5884 GB, free: 7.125 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 7.004e-06/7.043e-06, allocations: 0 / 0.6759 GB, free: 13.49 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3532, allocations: 82.77 MB / 0.7567 GB, free: 138.3 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.029/3.382, allocations: 1.877 GB / 2.634 GB, free: 137.2 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/3.383, allocations: 95.75 kB / 2.634 GB, free: 137.1 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.573/4.956, allocations: 0.5878 GB / 3.222 GB, free: 71.52 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.000106/4.956, allocations: 39.98 kB / 3.222 GB, free: 71.48 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.004193/4.96, allocations: 2.293 MB / 3.224 GB, free: 69.13 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/4.961, allocations: 9.031 kB / 3.224 GB, free: 69.12 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002869/4.963, allocations: 433 kB / 3.225 GB, free: 68.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/4.967, allocations: 2.251 MB / 3.227 GB, free: 66.38 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/4.967, allocations: 24 kB / 3.227 GB, free: 66.35 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003397/4.967, allocations: 72 kB / 3.227 GB, free: 66.28 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001798/4.969, allocations: 1.494 MB / 3.228 GB, free: 64.79 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/4.97, allocations: 1.245 MB / 3.23 GB, free: 63.47 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/4.971, allocations: 3.938 kB / 3.23 GB, free: 63.46 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.477e-05/4.971, allocations: 4 kB / 3.23 GB, free: 63.46 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/4.971, allocations: 16 kB / 3.23 GB, free: 63.45 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007207/4.978, allocations: 6.248 MB / 3.236 GB, free: 57.03 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/4.98, allocations: 1.463 MB / 3.237 GB, free: 55.55 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000735/4.981, allocations: 0.6978 MB / 3.238 GB, free: 54.85 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003949/4.981, allocations: 453.9 kB / 3.238 GB, free: 54.31 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/4.981, allocations: 43.06 kB / 3.238 GB, free: 54.26 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=57): time 2.885e-06/4.981, allocations: 0 / 3.238 GB, free: 54.26 MB / 0.6982 GB Notification: Performance of matching and sorting (n=57): time 0.005711/4.987, allocations: 2.146 MB / 3.24 GB, free: 52.11 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/4.987, allocations: 59.91 kB / 3.24 GB, free: 52.04 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002773/4.99, allocations: 2.459 MB / 3.243 GB, free: 49.54 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0003813/4.99, allocations: 29.7 kB / 3.243 GB, free: 49.5 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/4.99, allocations: 476.5 kB / 3.243 GB, free: 49.02 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/4.99, allocations: 185.2 kB / 3.244 GB, free: 48.84 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/4.991, allocations: 0 / 3.244 GB, free: 48.84 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.116e-05/4.991, allocations: 377.9 kB / 3.244 GB, free: 48.46 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002429/4.993, allocations: 2.175 MB / 3.246 GB, free: 46.29 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002611/4.996, allocations: 2.628 MB / 3.249 GB, free: 43.48 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00445/5, allocations: 2.24 MB / 3.251 GB, free: 41.25 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/5, allocations: 4 kB / 3.251 GB, free: 41.25 MB / 0.6982 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.008132/5.008, allocations: 4.95 MB / 3.256 GB, free: 36.28 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002703/5.009, allocations: 2.054 MB / 3.258 GB, free: 34.11 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/5.009, allocations: 8 kB / 3.258 GB, free: 34.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003962/5.009, allocations: 112.9 kB / 3.258 GB, free: 33.99 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/5.011, allocations: 407.4 kB / 3.258 GB, free: 33.59 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/5.013, allocations: 1.333 MB / 3.259 GB, free: 32.21 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002961/5.016, allocations: 309.6 kB / 3.26 GB, free: 31.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000482/5.016, allocations: 140 kB / 3.26 GB, free: 31.77 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/5.016, allocations: 4 kB / 3.26 GB, free: 31.76 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009254/5.025, allocations: 4.707 MB / 3.264 GB, free: 27.05 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/5.025, allocations: 11.91 kB / 3.264 GB, free: 27.04 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/5.025, allocations: 15.98 kB / 3.264 GB, free: 27.02 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/5.028, allocations: 400.1 kB / 3.265 GB, free: 26.63 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/5.028, allocations: 15.94 kB / 3.265 GB, free: 26.62 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/5.031, allocations: 238.5 kB / 3.265 GB, free: 26.38 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003474/5.031, allocations: 140 kB / 3.265 GB, free: 26.25 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 39 (preIndDpFixed_nominal.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[13],preIndFrom_dp.idx_sorted[1],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[13],preInd.idx_sorted[1],preInd.idx_sorted[2],preInd.idx_sorted[3],preInd.idx_sorted[4],preInd.idx_sorted[5],preInd.idx_sorted[6],preInd.idx_sorted[7],preInd.idx_sorted[8],preInd.idx_sorted[9],preInd.idx_sorted[10],preInd.idx_sorted[11],preInd.idx_sorted[12],preInd.idx_sorted[13]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * Array equations: 3 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004456/5.031, allocations: 170 kB / 3.265 GB, free: 26.07 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003806/5.032, allocations: 161.8 kB / 3.266 GB, free: 25.91 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00511/5.037, allocations: 2.406 MB / 3.268 GB, free: 23.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/5.037, allocations: 4 kB / 3.268 GB, free: 23.5 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/5.037, allocations: 3.938 kB / 3.268 GB, free: 23.5 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/5.037, allocations: 3.984 kB / 3.268 GB, free: 23.49 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007488/5.044, allocations: 4.175 MB / 3.272 GB, free: 19.23 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/5.044, allocations: 8.031 kB / 3.272 GB, free: 19.22 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008909/5.045, allocations: 175.8 kB / 3.272 GB, free: 19.05 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000328/5.046, allocations: 128.7 kB / 3.272 GB, free: 18.92 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/5.046, allocations: 27.97 kB / 3.272 GB, free: 18.89 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009659/5.047, allocations: 1.306 MB / 3.274 GB, free: 17.54 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/5.047, allocations: 11.88 kB / 3.274 GB, free: 17.53 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004556/5.051, allocations: 2.482 MB / 3.276 GB, free: 14.92 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008833/5.052, allocations: 0.5882 MB / 3.277 GB, free: 14.31 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/5.053, allocations: 4 kB / 3.277 GB, free: 14.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/5.054, allocations: 99.72 kB / 3.277 GB, free: 14.21 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/5.054, allocations: 44.44 kB / 3.277 GB, free: 14.16 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/5.054, allocations: 87.95 kB / 3.277 GB, free: 14.08 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.001905/5.056, allocations: 1.825 MB / 3.279 GB, free: 12.23 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003102/5.059, allocations: 1.139 MB / 3.28 GB, free: 11.09 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002188/5.062, allocations: 1.779 MB / 3.281 GB, free: 9.262 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.007138/5.069, allocations: 5.947 MB / 3.287 GB, free: 3.312 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/5.069, allocations: 4 kB / 3.287 GB, free: 3.309 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0008176/5.07, allocations: 0.6502 MB / 3.288 GB, free: 2.66 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/5.072, allocations: 342 kB / 3.288 GB, free: 2.324 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2125/5.284, allocations: 2.387 MB / 3.291 GB, free: 176.1 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00254/5.287, allocations: 1.555 MB / 3.292 GB, free: 175.3 MB / 0.6982 GB Notification: Performance of SimCode: time 9.72e-07/5.287, allocations: 0 / 3.292 GB, free: 175.3 MB / 0.6982 GB Notification: Performance of Templates: time 0.0877/5.374, allocations: 66.41 MB / 3.357 GB, free: 174.2 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)