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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.557/1.557, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001358/0.001358, allocations: 193.2 kB / 366.3 MB, free: 1.988 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.541/1.541, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0009566/0.0009568, allocations: 94.81 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2832/0.2842, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7132/0.9974, allocations: 116.3 MB / 0.9727 GB, free: 68.33 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1949/1.192, allocations: 142 MB / 1.111 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/1.193, allocations: 84.64 kB / 1.111 GB, free: 6.363 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.01844/1.211, allocations: 6.106 MB / 1.117 GB, free: 260 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.211, allocations: 8 kB / 1.117 GB, free: 252 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/1.211, allocations: 11.91 kB / 1.117 GB, free: 240 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/1.212, allocations: 218.7 kB / 1.118 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/1.212, allocations: 4 kB / 1.118 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/1.212, allocations: 3.984 kB / 1.118 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001324/1.212, allocations: 39.98 kB / 1.118 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/1.212, allocations: 85.05 kB / 1.118 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/1.212, allocations: 0 / 1.118 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/1.212, allocations: 7.984 kB / 1.118 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/1.212, allocations: 3.906 kB / 1.118 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/1.212, allocations: 184 kB / 1.118 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/1.213, allocations: 103.8 kB / 1.118 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7e-05/1.213, allocations: 38.7 kB / 1.118 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/1.213, allocations: 4 kB / 1.118 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/1.213, allocations: 103.3 kB / 1.118 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/1.213, allocations: 0 / 1.118 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0002919/1.213, allocations: 101.4 kB / 1.118 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/1.213, allocations: 132.5 kB / 1.118 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/1.214, allocations: 166 kB / 1.119 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/1.214, allocations: 25.7 kB / 1.119 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/1.214, allocations: 92.12 kB / 1.119 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/1.214, allocations: 23.66 kB / 1.119 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/1.214, allocations: 0 / 1.119 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000202/1.214, allocations: 322.8 kB / 1.119 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.543e-05/1.214, allocations: 23.98 kB / 1.119 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-05/1.214, allocations: 57.7 kB / 1.119 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.246e-05/1.214, allocations: 27.92 kB / 1.119 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.214, allocations: 7.906 kB / 1.119 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001922/1.214, allocations: 101.5 kB / 1.119 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.214, allocations: 4 kB / 1.119 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.214, allocations: 4.125 kB / 1.119 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/1.214, allocations: 4 kB / 1.119 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/1.215, allocations: 23.98 kB / 1.119 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/1.215, allocations: 6.094 kB / 1.119 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.531e-05/1.215, allocations: 11.98 kB / 1.119 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/1.215, allocations: 4 kB / 1.119 GB, free: 14.1 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 0.000119/1.215, allocations: 119.3 kB / 1.119 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/1.215, allocations: 23.73 kB / 1.119 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/1.215, allocations: 99.08 kB / 1.119 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/1.215, allocations: 0.6562 kB / 1.119 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/1.215, allocations: 3.984 kB / 1.119 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.215, allocations: 3.906 kB / 1.12 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/1.215, allocations: 190.1 kB / 1.12 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.215, allocations: 0 / 1.12 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/1.215, allocations: 23.98 kB / 1.12 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.215, allocations: 0 / 1.12 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/1.215, allocations: 4.844 kB / 1.12 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/1.215, allocations: 3.938 kB / 1.12 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.215, allocations: 3.906 kB / 1.12 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002569/1.216, allocations: 168 kB / 1.12 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003396/1.216, allocations: 0.5421 MB / 1.12 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/1.216, allocations: 96.91 kB / 1.12 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/1.216, allocations: 4 kB / 1.121 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.925e-05/1.216, allocations: 7.984 kB / 1.121 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/1.216, allocations: 15.83 kB / 1.121 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/1.216, allocations: 7.984 kB / 1.121 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001134/1.217, allocations: 135.3 kB / 1.121 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008396/1.217, allocations: 40.36 kB / 1.121 GB, free: 12.48 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.0008741/1.218, allocations: 339.7 kB / 1.121 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001979/1.218, allocations: 67.92 kB / 1.121 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.218, allocations: 3.938 kB / 1.121 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.625e-05/1.219, allocations: 43.92 kB / 1.121 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/1.219, allocations: 28.03 kB / 1.121 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/1.219, allocations: 165.2 kB / 1.121 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/1.22, allocations: 0.7312 MB / 1.122 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of SimCode: time 1.403e-06/1.22, allocations: 0 / 1.122 GB, free: 11.14 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)