Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.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.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader") [: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.533/1.533, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001017/0.001017, allocations: 177.3 kB / 366.3 MB, free: 2.012 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.474/1.474, allocations: 205.1 MB / 0.6256 GB, free: 5.855 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.000895/0.0008951, allocations: 85.03 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.193e-06/7.404e-06, allocations: 4 kB / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4917, allocations: 116.3 MB / 0.9726 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1578/0.6496, allocations: 142 MB / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.6498, allocations: 83.88 kB / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01618/0.666, allocations: 5.656 MB / 1.117 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.6661, allocations: 4 kB / 1.117 GB, free: 0.7734 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005489/0.6666, allocations: 446 kB / 1.117 GB, free: 300 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.6667, allocations: 8.031 kB / 1.117 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.6667, allocations: 15.84 kB / 1.117 GB, free: 276 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.6671, allocations: 218.7 kB / 1.118 GB, free: 16 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.6671, allocations: 7.984 kB / 1.118 GB, free: 8 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.6671, allocations: 4 kB / 1.118 GB, free: 4 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001108/0.6672, allocations: 31.98 kB / 1.118 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.6674, allocations: 89.05 kB / 1.118 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.6674, allocations: 3.984 kB / 1.118 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.6674, allocations: 4 kB / 1.118 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.6674, allocations: 7.891 kB / 1.118 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.6676, allocations: 180 kB / 1.118 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.6678, allocations: 107.8 kB / 1.118 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.314e-05/0.6679, allocations: 39.8 kB / 1.118 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.6679, allocations: 0 / 1.118 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.668, allocations: 103.8 kB / 1.118 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.668, allocations: 0 / 1.118 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0002384/0.6683, allocations: 97.48 kB / 1.118 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.6684, allocations: 136.5 kB / 1.118 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.6685, allocations: 162 kB / 1.118 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.6685, allocations: 25.7 kB / 1.118 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.6686, allocations: 96.19 kB / 1.119 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.6686, allocations: 23.66 kB / 1.119 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.6686, allocations: 0 / 1.119 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6688, allocations: 324 kB / 1.119 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.445e-05/0.6688, allocations: 23.98 kB / 1.119 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.505e-05/0.6689, allocations: 52.3 kB / 1.119 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.669, allocations: 28.02 kB / 1.119 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.669, allocations: 3.906 kB / 1.119 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001679/0.6692, allocations: 105.5 kB / 1.119 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.6692, allocations: 7.938 kB / 1.119 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6692, allocations: 4 kB / 1.119 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.6692, allocations: 1.875 kB / 1.119 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.6694, allocations: 28.08 kB / 1.119 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.6694, allocations: 7.891 kB / 1.119 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.464e-05/0.6695, allocations: 8 kB / 1.119 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.6695, allocations: 7.938 kB / 1.119 GB, free: 14.13 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 7.574e-05/0.6696, allocations: 115.3 kB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.6696, allocations: 15.8 kB / 1.119 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.6698, allocations: 109 kB / 1.119 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.6698, allocations: 7.984 kB / 1.119 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6698, allocations: 0 / 1.119 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6699, allocations: 3.906 kB / 1.119 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.67, allocations: 186.1 kB / 1.12 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.67, allocations: 0 / 1.12 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.198e-05/0.6701, allocations: 19.98 kB / 1.12 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6701, allocations: 0 / 1.12 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.6702, allocations: 8 kB / 1.12 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.6702, allocations: 0 / 1.12 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.6702, allocations: 7.844 kB / 1.12 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000204/0.6704, allocations: 167.7 kB / 1.12 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.6704, allocations: 92.92 kB / 1.12 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.6705, allocations: 7.984 kB / 1.12 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.6706, allocations: 8 kB / 1.12 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.6706, allocations: 15.92 kB / 1.12 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.6706, allocations: 4 kB / 1.12 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001039/0.6708, allocations: 131.2 kB / 1.12 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002611/0.671, allocations: 36 kB / 1.12 GB, free: 13.11 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006547/0.6717, allocations: 348.3 kB / 1.12 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.6718, allocations: 71.86 kB / 1.12 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6719, allocations: 4.188 kB / 1.12 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.519e-05/0.6719, allocations: 35.94 kB / 1.121 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.6722, allocations: 23.89 kB / 1.121 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.6726, allocations: 165.2 kB / 1.121 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/0.6729, allocations: 0.7349 MB / 1.121 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of SimCode: time 2.8e-07/0.6729, allocations: 0 / 1.121 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of Templates: time 0.004813/0.6777, allocations: 1.948 MB / 1.123 GB, free: 9.863 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)