Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.102/2.102, allocations: 253.1 MB / 260.4 MB, free: 7.625 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001607/0.001607, allocations: 185.2 kB / 319.6 MB, free: 3.34 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.81/1.81, allocations: 205.4 MB / 0.5704 GB, free: 15.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001292/0.001292, allocations: 96.64 kB / 0.6746 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.627e-06/8.656e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1875, allocations: 106.2 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6482/0.8358, allocations: 135.6 MB / 1.02 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003686/0.8362, allocations: 88.05 kB / 1.021 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.05032/0.8865, allocations: 5.651 MB / 1.026 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.531e-05/0.8866, allocations: 0 / 1.026 GB, free: 14.45 MB / 0.6511 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.001082/0.8877, allocations: 453.7 kB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.8878, allocations: 8.031 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.433e-05/0.8879, allocations: 11.81 kB / 1.027 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005765/0.8885, allocations: 218 kB / 1.027 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.8885, allocations: 0 / 1.027 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.8886, allocations: 7.891 kB / 1.027 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002134/0.8888, allocations: 31.42 kB / 1.027 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.8891, allocations: 96.36 kB / 1.027 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.8891, allocations: 3.938 kB / 1.027 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.8892, allocations: 3.984 kB / 1.027 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.8892, allocations: 0 / 1.027 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.8896, allocations: 186.8 kB / 1.027 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.8899, allocations: 104.6 kB / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.8901, allocations: 41.06 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.8901, allocations: 3.984 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.8904, allocations: 99.72 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.705e-06/0.8904, allocations: 0 / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0004712/0.8909, allocations: 103.5 kB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.891, allocations: 135.8 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.8913, allocations: 162.7 kB / 1.028 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.8914, allocations: 29.7 kB / 1.028 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.8915, allocations: 91.62 kB / 1.028 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.553e-05/0.8915, allocations: 25.97 kB / 1.028 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.8916, allocations: 4 kB / 1.028 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.8918, allocations: 318.2 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.8919, allocations: 22.8 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.892, allocations: 54.73 kB / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.8922, allocations: 38.7 kB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.8922, allocations: 0 / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.006482/0.8987, allocations: 103.5 kB / 1.028 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.8988, allocations: 8 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.8988, allocations: 0 / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.8988, allocations: 0 / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.8992, allocations: 30.45 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.8992, allocations: 0 / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.8994, allocations: 11.98 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.8995, allocations: 4 kB / 1.028 GB, free: 11.98 MB / 0.6511 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.0001514/0.8996, allocations: 115.4 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.8997, allocations: 19.8 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004184/0.9002, allocations: 110.7 kB / 1.029 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.9002, allocations: 0 / 1.029 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.9002, allocations: 4 kB / 1.029 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.9002, allocations: 3.984 kB / 1.029 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.9026, allocations: 190.8 kB / 1.029 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.9026, allocations: 3.938 kB / 1.029 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.9029, allocations: 19.98 kB / 1.029 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.9029, allocations: 0 / 1.029 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.9029, allocations: 8 kB / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.9029, allocations: 4.062 kB / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.903, allocations: 4 kB / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000444/0.9034, allocations: 165.8 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.9036, allocations: 100.7 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.9036, allocations: 3.984 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.9039, allocations: 8 kB / 1.029 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.9039, allocations: 7.984 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.904, allocations: 11.22 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002198/0.9042, allocations: 131.8 kB / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006078/0.9048, allocations: 35.38 kB / 1.029 GB, free: 11.03 MB / 0.6511 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.001325/0.9062, allocations: 340.1 kB / 1.03 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003273/0.9065, allocations: 69.73 kB / 1.03 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.9066, allocations: 4.188 kB / 1.03 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.9067, allocations: 41.8 kB / 1.03 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.9072, allocations: 23.16 kB / 1.03 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007621/0.908, allocations: 170.1 kB / 1.03 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006684/0.9147, allocations: 0.7377 MB / 1.031 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of SimCode: time 1.673e-06/0.9148, allocations: 0 / 1.031 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of Templates: time 0.009909/0.9247, allocations: 1.95 MB / 1.033 GB, free: 7.816 MB / 0.6511 GB