Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 181.9 kB / 7.802 MB, free: 2.145 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4451/0.4451, allocations: 90.85 MB / 99.07 MB, free: 14.99 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 221.4 MB / 342.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009509/0.0009508, allocations: 94.98 kB / 415.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.159e-06/5.26e-06, allocations: 0 / 493.9 MB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3616, allocations: 72.3 MB / 0.5529 GB, free: 73.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1164/0.478, allocations: 102.8 MB / 0.6533 GB, free: 7.215 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.4783, allocations: 79.95 kB / 0.6534 GB, free: 7.137 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01324/0.4915, allocations: 4.68 MB / 0.658 GB, free: 2.484 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.4916, allocations: 0 / 0.658 GB, free: 2.484 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007976/0.4924, allocations: 0.5255 MB / 0.6585 GB, free: 1.895 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.4924, allocations: 8.031 kB / 0.6585 GB, free: 1.887 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.869e-05/0.4926, allocations: 19.81 kB / 0.6585 GB, free: 1.867 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.493, allocations: 235.4 kB / 0.6587 GB, free: 1.598 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.493, allocations: 0.9375 kB / 0.6587 GB, free: 1.598 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.4931, allocations: 12 kB / 0.6587 GB, free: 1.586 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002689/0.4934, allocations: 51.97 kB / 0.6588 GB, free: 1.535 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.4936, allocations: 98.52 kB / 0.6589 GB, free: 1.434 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4937, allocations: 1.688 kB / 0.6589 GB, free: 1.434 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.4937, allocations: 2.031 kB / 0.6589 GB, free: 1.434 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4937, allocations: 4 kB / 0.6589 GB, free: 1.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007423/0.4945, allocations: 404.2 kB / 0.6593 GB, free: 1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.4946, allocations: 71.12 kB / 0.6593 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.4947, allocations: 69.66 kB / 0.6594 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.4948, allocations: 0 / 0.6594 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.495, allocations: 172.5 kB / 0.6596 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.495, allocations: 0 / 0.6596 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003709/0.4954, allocations: 157.4 kB / 0.6597 GB, free: 0.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.591e-05/0.4955, allocations: 168.8 kB / 0.6599 GB, free: 308 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.4957, allocations: 151.2 kB / 0.66 GB, free: 148 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.4957, allocations: 26.3 kB / 0.6601 GB, free: 116 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.4958, allocations: 96.81 kB / 0.6601 GB, free: 12 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.125e-05/0.4958, allocations: 31.92 kB / 0.6602 GB, free: 15.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/0.4959, allocations: 4.531 kB / 0.6602 GB, free: 15.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.496, allocations: 328 kB / 0.6605 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.073e-05/0.4961, allocations: 35.98 kB / 0.6605 GB, free: 15.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.4962, allocations: 90.31 kB / 0.6606 GB, free: 15.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.4963, allocations: 50.78 kB / 0.6607 GB, free: 15.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.4963, allocations: 4 kB / 0.6607 GB, free: 15.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003039/0.4967, allocations: 163.1 kB / 0.6608 GB, free: 15.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4967, allocations: 4.531 kB / 0.6608 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4967, allocations: 6.312 kB / 0.6608 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4967, allocations: 7.984 kB / 0.6608 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.4969, allocations: 13.03 kB / 0.6609 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.4969, allocations: 12.48 kB / 0.6609 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.497, allocations: 13 kB / 0.6609 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.497, allocations: 12.25 kB / 0.6609 GB, free: 15.22 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.combiTimeTableWriter.str,combiTimeTableWriter.str,$PRE.csvWriter.str,csvWriter.str,$whenCondition2,combiTimeTableWriter.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * 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.0001705/0.4972, allocations: 176.3 kB / 0.6611 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.4973, allocations: 22.53 kB / 0.6611 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.236e-05/0.4973, allocations: 17.39 kB / 0.6611 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.4973, allocations: 0 / 0.6611 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4973, allocations: 0 / 0.6611 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4973, allocations: 0 / 0.6611 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.4978, allocations: 434.9 kB / 0.6615 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4978, allocations: 4 kB / 0.6615 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/0.4979, allocations: 9.062 kB / 0.6615 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.4979, allocations: 11.92 kB / 0.6615 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.498, allocations: 4 kB / 0.6615 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.498, allocations: 0 / 0.6615 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.498, allocations: 0 / 0.6615 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000325/0.4983, allocations: 263.3 kB / 0.6618 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.4984, allocations: 92.86 kB / 0.6619 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.4984, allocations: 4 kB / 0.6619 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4986, allocations: 13.36 kB / 0.6619 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.4986, allocations: 7.906 kB / 0.6619 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.4986, allocations: 12.73 kB / 0.6619 GB, free: 14.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.631e-05/0.4987, allocations: 123.5 kB / 0.662 GB, free: 13.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.499, allocations: 31.94 kB / 0.6621 GB, free: 13.93 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0002723/0.4993, allocations: 128.1 kB / 0.6622 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.4997, allocations: 220.5 kB / 0.6624 GB, free: 13.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4997, allocations: 0.5 kB / 0.6624 GB, free: 13.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.4998, allocations: 143.3 kB / 0.6625 GB, free: 13.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.5001, allocations: 19.42 kB / 0.6625 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/0.5006, allocations: 190.8 kB / 0.6627 GB, free: 13.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.501, allocations: 0.7348 MB / 0.6634 GB, free: 12.42 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/0.501, allocations: 0 / 0.6634 GB, free: 12.42 MB / 490.7 MB Notification: Performance of Templates: time 0.00512/0.5061, allocations: 1.919 MB / 0.6653 GB, free: 10.57 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)