Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.453/1.453, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009718/0.0009719, allocations: 185.2 kB / 361.1 MB, free: 7.102 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.306/1.306, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0009061/0.0009061, allocations: 87.11 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.634e-06, allocations: 0 / 0.8511 GB, free: 3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6652/0.6652, allocations: 115.3 MB / 0.9637 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.8488, allocations: 141.1 MB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.8491, allocations: 83.94 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01749/0.8666, allocations: 5.649 MB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.8667, allocations: 4 kB / 1.107 GB, free: 9.34 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.000699/0.8674, allocations: 449.5 kB / 1.107 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.8674, allocations: 8.031 kB / 1.107 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.8675, allocations: 17.5 kB / 1.107 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.8679, allocations: 214.8 kB / 1.108 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.8679, allocations: 4.781 kB / 1.108 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.8679, allocations: 7.938 kB / 1.108 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001277/0.8681, allocations: 32.92 kB / 1.108 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.8682, allocations: 90.11 kB / 1.108 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.8683, allocations: 0.7812 kB / 1.108 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.8683, allocations: 0 / 1.108 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.8683, allocations: 10 kB / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/0.8685, allocations: 185.4 kB / 1.108 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.8687, allocations: 103.8 kB / 1.108 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.506e-05/0.8688, allocations: 34.77 kB / 1.108 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.8688, allocations: 7.938 kB / 1.108 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.869, allocations: 104 kB / 1.108 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.869, allocations: 0 / 1.108 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002583/0.8692, allocations: 103.4 kB / 1.108 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.8694, allocations: 128.5 kB / 1.108 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.8695, allocations: 161.5 kB / 1.109 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.8696, allocations: 25.7 kB / 1.109 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.8696, allocations: 96.19 kB / 1.109 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.8697, allocations: 23.66 kB / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.8697, allocations: 1.031 kB / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8698, allocations: 322.8 kB / 1.109 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-05/0.8699, allocations: 23.98 kB / 1.109 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.248e-05/0.8699, allocations: 56.23 kB / 1.109 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.96e-05/0.87, allocations: 28.02 kB / 1.109 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.87, allocations: 3.906 kB / 1.109 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.8702, allocations: 106.5 kB / 1.109 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.8702, allocations: 4 kB / 1.109 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.8702, allocations: 4 kB / 1.109 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.8703, allocations: 0 / 1.109 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.8704, allocations: 28.02 kB / 1.109 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.8704, allocations: 15.83 kB / 1.109 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.8705, allocations: 8 kB / 1.109 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.8706, allocations: 4 kB / 1.109 GB, free: 6.707 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.0001021/0.8707, allocations: 116.8 kB / 1.109 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.8707, allocations: 11.81 kB / 1.109 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.8709, allocations: 105.7 kB / 1.11 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.8709, allocations: 4 kB / 1.11 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.8709, allocations: 3.938 kB / 1.11 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.871, allocations: 3.906 kB / 1.11 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.8711, allocations: 190.1 kB / 1.11 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8711, allocations: 0 / 1.11 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.8712, allocations: 19.98 kB / 1.11 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.8713, allocations: 0 / 1.11 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.8713, allocations: 4 kB / 1.11 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.8713, allocations: 6.938 kB / 1.11 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.8713, allocations: 3.906 kB / 1.11 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002211/0.8715, allocations: 174.8 kB / 1.11 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.8716, allocations: 92.91 kB / 1.11 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.8716, allocations: 4 kB / 1.11 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/0.8717, allocations: 8 kB / 1.11 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.8718, allocations: 11.98 kB / 1.11 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.8718, allocations: 0 / 1.11 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001156/0.8719, allocations: 141.5 kB / 1.11 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002671/0.8722, allocations: 32 kB / 1.11 GB, free: 5.695 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.0007097/0.8729, allocations: 364.5 kB / 1.111 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.8731, allocations: 68.05 kB / 1.111 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8731, allocations: 4.062 kB / 1.111 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.669e-05/0.8732, allocations: 35.94 kB / 1.111 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.8735, allocations: 30.12 kB / 1.111 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.8739, allocations: 159.8 kB / 1.111 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004147/0.8743, allocations: 0.7357 MB / 1.112 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.8743, allocations: 0 / 1.112 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of Templates: time 0.005488/0.8798, allocations: 1.941 MB / 1.113 GB, free: 2.516 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)