Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.288/1.288, allocations: 249.4 MB / 256.7 MB, free: 7.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 177.3 kB / 316 MB, free: 3.578 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.204/1.204, allocations: 205.1 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008125/0.0008124, allocations: 78.33 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3532/0.354, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.5203, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5234/1.044, allocations: 135.8 MB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/1.044, allocations: 76.58 kB / 1.017 GB, free: 3.035 MB / 0.6355 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.01649/1.061, allocations: 6.109 MB / 1.023 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/1.061, allocations: 8 kB / 1.023 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/1.061, allocations: 15.81 kB / 1.023 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/1.061, allocations: 216.7 kB / 1.024 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/1.061, allocations: 7.906 kB / 1.024 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/1.061, allocations: 0 / 1.024 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001051/1.061, allocations: 34.17 kB / 1.024 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/1.061, allocations: 87.78 kB / 1.024 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/1.061, allocations: 0 / 1.024 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/1.061, allocations: 7.25 kB / 1.024 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/1.061, allocations: 4 kB / 1.024 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/1.062, allocations: 192.4 kB / 1.024 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/1.062, allocations: 100.9 kB / 1.024 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.241e-05/1.062, allocations: 44.39 kB / 1.024 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/1.062, allocations: 7.922 kB / 1.024 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/1.062, allocations: 95.41 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/1.062, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0002409/1.062, allocations: 103.1 kB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/1.062, allocations: 132.5 kB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/1.062, allocations: 166.8 kB / 1.024 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/1.062, allocations: 25.7 kB / 1.025 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/1.062, allocations: 91.56 kB / 1.025 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/1.063, allocations: 27.45 kB / 1.025 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/1.063, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.063, allocations: 322.1 kB / 1.025 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/1.063, allocations: 26.19 kB / 1.025 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.614e-05/1.063, allocations: 55.91 kB / 1.025 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.6e-05/1.063, allocations: 30.3 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.063, allocations: 4 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001704/1.063, allocations: 110.5 kB / 1.025 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.063, allocations: 4 kB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.063, allocations: 4 kB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/1.063, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/1.063, allocations: 23.98 kB / 1.025 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/1.063, allocations: 0 / 1.025 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.823e-05/1.063, allocations: 19.95 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/1.063, allocations: 4 kB / 1.025 GB, free: 12.13 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 8.353e-05/1.063, allocations: 108.9 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/1.063, allocations: 11.81 kB / 1.025 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/1.064, allocations: 108 kB / 1.025 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.064, allocations: 4 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.064, allocations: 0 / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/1.064, allocations: 0 / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/1.064, allocations: 191.5 kB / 1.026 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.064, allocations: 3.984 kB / 1.026 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.928e-05/1.064, allocations: 19.94 kB / 1.026 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/1.064, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/1.064, allocations: 7.984 kB / 1.026 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/1.064, allocations: 128 / 1.026 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/1.064, allocations: 4 kB / 1.026 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002176/1.064, allocations: 171.3 kB / 1.026 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003285/1.065, allocations: 0.553 MB / 1.026 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/1.065, allocations: 96.59 kB / 1.026 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/1.065, allocations: 4 kB / 1.026 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/1.065, allocations: 4 kB / 1.026 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/1.065, allocations: 11.98 kB / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/1.065, allocations: 4.375 kB / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000116/1.065, allocations: 134.3 kB / 1.027 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009054/1.066, allocations: 38 kB / 1.027 GB, free: 10.64 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.0006869/1.067, allocations: 352.7 kB / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001699/1.067, allocations: 63.8 kB / 1.027 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.067, allocations: 0 / 1.027 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/1.067, allocations: 37.75 kB / 1.027 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/1.067, allocations: 32.66 kB / 1.027 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005215/1.068, allocations: 170.5 kB / 1.027 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004073/1.068, allocations: 0.727 MB / 1.028 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/1.068, allocations: 0 / 1.028 GB, free: 9.344 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)