Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 192.3 kB / 7.805 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5614/0.5614, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 221.4 MB / 342.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009916/0.0009917, allocations: 91.36 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1713/0.1723, allocations: 78.45 MB / 494 MB, free: 7.988 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.5431, allocations: 72.3 MB / 0.553 GB, free: 73.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.6699, allocations: 105 MB / 0.6555 GB, free: 4.988 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.6701, allocations: 83.95 kB / 0.6556 GB, free: 4.906 MB / 474.7 MB 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.01766/0.6878, allocations: 6.258 MB / 0.6617 GB, free: 14.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.6878, allocations: 9.156 kB / 0.6617 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.6879, allocations: 15.81 kB / 0.6618 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.6882, allocations: 219.5 kB / 0.662 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.6883, allocations: 0 / 0.662 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.6883, allocations: 9.344 kB / 0.662 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001171/0.6884, allocations: 39.42 kB / 0.662 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.6886, allocations: 83.84 kB / 0.6621 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.6886, allocations: 0 / 0.6621 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.6886, allocations: 1.406 kB / 0.6621 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.6886, allocations: 4.688 kB / 0.6621 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.6889, allocations: 190.3 kB / 0.6623 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.689, allocations: 101.6 kB / 0.6624 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.6891, allocations: 38.58 kB / 0.6624 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.6891, allocations: 4.594 kB / 0.6624 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.6893, allocations: 102.2 kB / 0.6625 GB, free: 13.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.6893, allocations: 0 / 0.6625 GB, free: 13.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002943/0.6896, allocations: 98.27 kB / 0.6626 GB, free: 13.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.6897, allocations: 133 kB / 0.6627 GB, free: 13.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.6899, allocations: 167 kB / 0.6629 GB, free: 13.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.6899, allocations: 26.39 kB / 0.6629 GB, free: 13.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.69, allocations: 92.75 kB / 0.663 GB, free: 13.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.69, allocations: 27.64 kB / 0.663 GB, free: 13.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.69, allocations: 0.875 kB / 0.663 GB, free: 13.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.6901, allocations: 324.8 kB / 0.6634 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.942e-05/0.6902, allocations: 24.56 kB / 0.6634 GB, free: 12.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.6903, allocations: 57.72 kB / 0.6634 GB, free: 12.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.236e-05/0.6903, allocations: 25.14 kB / 0.6635 GB, free: 12.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6903, allocations: 0.7812 kB / 0.6635 GB, free: 12.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000198/0.6905, allocations: 113.5 kB / 0.6636 GB, free: 12.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.6906, allocations: 4 kB / 0.6636 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.6906, allocations: 4 kB / 0.6636 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.6906, allocations: 0 / 0.6636 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.6907, allocations: 27.92 kB / 0.6636 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.6908, allocations: 0 / 0.6636 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.874e-05/0.6909, allocations: 16.08 kB / 0.6636 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.6909, allocations: 4 kB / 0.6636 GB, free: 12.55 MB / 490.7 MB 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.312e-05/0.691, allocations: 112.8 kB / 0.6637 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.691, allocations: 11.91 kB / 0.6637 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.6912, allocations: 113 kB / 0.6638 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.6913, allocations: 5.312 kB / 0.6638 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.6913, allocations: 7.047 kB / 0.6639 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6913, allocations: 0 / 0.6639 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.6915, allocations: 190.1 kB / 0.664 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.6915, allocations: 3.984 kB / 0.664 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.6916, allocations: 16 kB / 0.6641 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.6916, allocations: 0 / 0.6641 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.6916, allocations: 3.984 kB / 0.6641 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6916, allocations: 4 kB / 0.6641 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.6916, allocations: 0 / 0.6641 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002185/0.6919, allocations: 167.7 kB / 0.6642 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003623/0.6922, allocations: 0.5608 MB / 0.6648 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.6923, allocations: 96.91 kB / 0.6649 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.6924, allocations: 0 / 0.6649 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-05/0.6925, allocations: 8 kB / 0.6649 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.6925, allocations: 11.98 kB / 0.6649 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.6925, allocations: 4 kB / 0.6649 GB, free: 11.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001264/0.6927, allocations: 135.2 kB / 0.665 GB, free: 10.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009735/0.6937, allocations: 43.94 kB / 0.6651 GB, free: 10.93 MB / 490.7 MB 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.0008124/0.6945, allocations: 349.4 kB / 0.6654 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.6947, allocations: 63.92 kB / 0.6655 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6947, allocations: 0 / 0.6655 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.5e-05/0.6948, allocations: 39.94 kB / 0.6655 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.6951, allocations: 37.98 kB / 0.6655 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.6955, allocations: 157.5 kB / 0.6657 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.696, allocations: 0.7309 MB / 0.6664 GB, free: 9.668 MB / 490.7 MB Notification: Performance of SimCode: time 2.9e-07/0.696, allocations: 0 / 0.6664 GB, free: 9.668 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)