Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.232/2.232, allocations: 284.9 MB / 292.2 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001665/0.001664, allocations: 185.2 kB / 360.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001313/0.001312, allocations: 95.89 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.417e-05/1.433e-05, allocations: 4 kB / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5968/0.5969, allocations: 115.2 MB / 0.9628 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2426/0.8395, allocations: 140.9 MB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.8399, allocations: 76.7 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02756/0.8674, allocations: 5.65 MB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.365e-05/0.8675, allocations: 12 kB / 1.106 GB, free: 10.29 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.0008366/0.8683, allocations: 446 kB / 1.106 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.8684, allocations: 8.531 kB / 1.106 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.478e-05/0.8685, allocations: 15.89 kB / 1.106 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.869, allocations: 223.5 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.869, allocations: 4 kB / 1.107 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.869, allocations: 3.938 kB / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001687/0.8692, allocations: 31.98 kB / 1.107 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.8694, allocations: 93.09 kB / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.8695, allocations: 0 / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.8695, allocations: 4 kB / 1.107 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.8695, allocations: 3.906 kB / 1.107 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.8698, allocations: 181.3 kB / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.8701, allocations: 107.8 kB / 1.107 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.8702, allocations: 40.14 kB / 1.107 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.8703, allocations: 3.938 kB / 1.107 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.8705, allocations: 100.2 kB / 1.107 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.494e-06/0.8705, allocations: 0 / 1.107 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004118/0.8709, allocations: 101.4 kB / 1.107 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.871, allocations: 132.5 kB / 1.107 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.8713, allocations: 153.5 kB / 1.108 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.8713, allocations: 29.7 kB / 1.108 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.8714, allocations: 92.12 kB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.8715, allocations: 27.72 kB / 1.108 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.8715, allocations: 0 / 1.108 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.8716, allocations: 326.8 kB / 1.108 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.754e-05/0.8717, allocations: 21.78 kB / 1.108 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.8718, allocations: 56.22 kB / 1.108 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.8719, allocations: 24.03 kB / 1.108 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.872, allocations: 7.906 kB / 1.108 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003282/0.8723, allocations: 107.1 kB / 1.108 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.8723, allocations: 4 kB / 1.108 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.8723, allocations: 7.984 kB / 1.108 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.8724, allocations: 0 / 1.108 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.8726, allocations: 28.02 kB / 1.108 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.8727, allocations: 7.906 kB / 1.108 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.8728, allocations: 8 kB / 1.108 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.8729, allocations: 7.938 kB / 1.108 GB, free: 7.648 MB / 0.7136 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 0.0001138/0.873, allocations: 113.8 kB / 1.108 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.873, allocations: 11.81 kB / 1.108 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/0.8735, allocations: 118.5 kB / 1.109 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.8735, allocations: 0 / 1.109 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8735, allocations: 3.938 kB / 1.109 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.8735, allocations: 7.891 kB / 1.109 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.8738, allocations: 187.9 kB / 1.109 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8738, allocations: 0 / 1.109 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.874, allocations: 19.98 kB / 1.109 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.874, allocations: 0 / 1.109 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.8741, allocations: 4 kB / 1.109 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/0.8741, allocations: 7.984 kB / 1.109 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.8741, allocations: 3.906 kB / 1.109 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003525/0.8744, allocations: 162.7 kB / 1.109 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.8746, allocations: 96.91 kB / 1.109 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.8746, allocations: 8 kB / 1.109 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.8748, allocations: 11.98 kB / 1.109 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.8749, allocations: 4 kB / 1.109 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.8749, allocations: 10.02 kB / 1.109 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001799/0.8751, allocations: 133 kB / 1.109 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004045/0.8755, allocations: 43.97 kB / 1.109 GB, free: 6.621 MB / 0.7136 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.001032/0.8766, allocations: 346.5 kB / 1.11 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.8769, allocations: 68.7 kB / 1.11 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8769, allocations: 192 / 1.11 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.8771, allocations: 43.94 kB / 1.11 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.8775, allocations: 29 kB / 1.11 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.8782, allocations: 159.5 kB / 1.11 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004361/0.8787, allocations: 0.731 MB / 1.111 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of SimCode: time 1.643e-06/0.8787, allocations: 0 / 1.111 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of Templates: time 0.007766/0.8865, allocations: 1.94 MB / 1.112 GB, free: 3.473 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)