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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [: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.404/1.404, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001051/0.001051, allocations: 181.3 kB / 361.1 MB, free: 7.098 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.109/1.109, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008894/0.0008897, allocations: 97.59 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2344/0.2353, allocations: 121.5 MB / 0.8512 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5805/0.8158, allocations: 115.3 MB / 0.9638 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.9881, allocations: 141.1 MB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.9884, allocations: 85.17 kB / 1.102 GB, free: 14.87 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.01843/1.007, allocations: 6.107 MB / 1.108 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.007, allocations: 8.5 kB / 1.108 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/1.007, allocations: 7.906 kB / 1.108 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/1.007, allocations: 227.5 kB / 1.108 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/1.007, allocations: 3.984 kB / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/1.007, allocations: 0.5938 kB / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001198/1.008, allocations: 31.98 kB / 1.108 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/1.008, allocations: 102.2 kB / 1.108 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.008, allocations: 1.781 kB / 1.108 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/1.008, allocations: 0 / 1.108 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.008, allocations: 3.906 kB / 1.108 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/1.008, allocations: 184 kB / 1.108 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/1.008, allocations: 103.8 kB / 1.108 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.69e-05/1.008, allocations: 38.7 kB / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/1.008, allocations: 3.984 kB / 1.108 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/1.009, allocations: 103.2 kB / 1.108 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.254e-06/1.009, allocations: 0 / 1.108 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003156/1.009, allocations: 105.4 kB / 1.108 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/1.009, allocations: 128.5 kB / 1.109 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/1.009, allocations: 157.5 kB / 1.109 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/1.009, allocations: 29.7 kB / 1.109 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/1.009, allocations: 92.12 kB / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/1.009, allocations: 27.72 kB / 1.109 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-06/1.009, allocations: 0 / 1.109 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.01, allocations: 318.8 kB / 1.109 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.697e-05/1.01, allocations: 23.98 kB / 1.109 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/1.01, allocations: 53.7 kB / 1.109 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.207e-05/1.01, allocations: 35.95 kB / 1.109 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.01, allocations: 3.906 kB / 1.109 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001846/1.01, allocations: 107.5 kB / 1.109 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/1.01, allocations: 4 kB / 1.109 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.01, allocations: 0 / 1.109 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/1.01, allocations: 0 / 1.109 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/1.01, allocations: 23.98 kB / 1.109 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.01, allocations: 11.98 kB / 1.109 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.103e-05/1.01, allocations: 8 kB / 1.109 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/1.01, allocations: 7.672 kB / 1.109 GB, free: 6.68 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 9.136e-05/1.01, allocations: 117 kB / 1.11 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/1.01, allocations: 23.73 kB / 1.11 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/1.011, allocations: 103.1 kB / 1.11 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/1.011, allocations: 3.984 kB / 1.11 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.011, allocations: 4 kB / 1.11 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.011, allocations: 3.906 kB / 1.11 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/1.011, allocations: 186.1 kB / 1.11 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.011, allocations: 0 / 1.11 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.661e-05/1.011, allocations: 21.3 kB / 1.11 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/1.011, allocations: 3.938 kB / 1.11 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/1.011, allocations: 4 kB / 1.11 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.011, allocations: 4 kB / 1.11 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.011, allocations: 3.906 kB / 1.11 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002304/1.011, allocations: 166.6 kB / 1.11 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003956/1.012, allocations: 0.539 MB / 1.111 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/1.012, allocations: 96.91 kB / 1.111 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/1.012, allocations: 7.938 kB / 1.111 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/1.012, allocations: 17.36 kB / 1.111 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/1.012, allocations: 11.89 kB / 1.111 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/1.012, allocations: 4 kB / 1.111 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001151/1.012, allocations: 137 kB / 1.111 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008809/1.013, allocations: 36 kB / 1.111 GB, free: 5.066 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.0006678/1.014, allocations: 349.2 kB / 1.111 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001692/1.014, allocations: 63.92 kB / 1.111 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.014, allocations: 7.938 kB / 1.111 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/1.014, allocations: 39.92 kB / 1.111 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/1.014, allocations: 24.3 kB / 1.111 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/1.015, allocations: 166 kB / 1.111 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/1.015, allocations: 0.7278 MB / 1.112 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/1.015, allocations: 0 / 1.112 GB, free: 3.777 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)