Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.6981/0.6981, allocations: 141.8 MB / 149.1 MB, free: 3.633 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 181.6 kB / 181.9 MB, free: 15.4 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 221.3 MB / 436 MB, free: 8.504 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009815/0.0009816, allocations: 100.4 kB / 0.507 GB, free: 24.34 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001751/0.001751, allocations: 277.7 kB / 0.5884 GB, free: 11.59 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1655/0.1673, allocations: 89.64 MB / 0.676 GB, free: 1.863 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.4988, allocations: 82.77 MB / 0.7568 GB, free: 112.1 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.6085, allocations: 112.1 MB / 0.8663 GB, free: 15.81 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.6087, allocations: 84.42 kB / 0.8664 GB, free: 15.73 MB / 0.5419 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.01698/0.6257, allocations: 6.256 MB / 0.8725 GB, free: 9.488 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.6258, allocations: 12.66 kB / 0.8725 GB, free: 9.477 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.6258, allocations: 11.81 kB / 0.8725 GB, free: 9.465 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.6262, allocations: 220.3 kB / 0.8728 GB, free: 9.211 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.6262, allocations: 8.656 kB / 0.8728 GB, free: 9.203 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.6262, allocations: 0 / 0.8728 GB, free: 9.203 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001086/0.6263, allocations: 32.77 kB / 0.8728 GB, free: 9.172 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.6265, allocations: 87.53 kB / 0.8729 GB, free: 9.07 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.6265, allocations: 5.312 kB / 0.8729 GB, free: 9.066 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.6265, allocations: 0 / 0.8729 GB, free: 9.066 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.6265, allocations: 0 / 0.8729 GB, free: 9.066 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.6268, allocations: 203.8 kB / 0.8731 GB, free: 8.828 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.6269, allocations: 94.56 kB / 0.8732 GB, free: 8.711 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.288e-05/0.627, allocations: 42.81 kB / 0.8732 GB, free: 8.66 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.627, allocations: 7.984 kB / 0.8732 GB, free: 8.652 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.6272, allocations: 93.91 kB / 0.8733 GB, free: 8.539 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.6272, allocations: 0 / 0.8733 GB, free: 8.539 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.0002364/0.6274, allocations: 101.4 kB / 0.8734 GB, free: 8.434 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.6275, allocations: 136.6 kB / 0.8735 GB, free: 8.27 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.6277, allocations: 162 kB / 0.8737 GB, free: 8.102 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.6277, allocations: 25.7 kB / 0.8737 GB, free: 8.07 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.6277, allocations: 92.12 kB / 0.8738 GB, free: 7.977 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.6278, allocations: 27.64 kB / 0.8738 GB, free: 7.949 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.6278, allocations: 0 / 0.8738 GB, free: 7.949 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6279, allocations: 322.8 kB / 0.8741 GB, free: 7.625 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.6279, allocations: 20 kB / 0.8741 GB, free: 7.605 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-05/0.628, allocations: 60.28 kB / 0.8742 GB, free: 7.531 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.6281, allocations: 28.05 kB / 0.8742 GB, free: 7.504 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6281, allocations: 3.938 kB / 0.8742 GB, free: 7.5 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001803/0.6283, allocations: 109.4 kB / 0.8743 GB, free: 7.387 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.6283, allocations: 12.12 kB / 0.8744 GB, free: 7.375 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.6283, allocations: 0 / 0.8744 GB, free: 7.375 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.6283, allocations: 0 / 0.8744 GB, free: 7.375 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.6285, allocations: 23.98 kB / 0.8744 GB, free: 7.352 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.6285, allocations: 1.031 kB / 0.8744 GB, free: 7.352 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.941e-05/0.6286, allocations: 15.89 kB / 0.8744 GB, free: 7.336 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.6286, allocations: 8 kB / 0.8744 GB, free: 7.328 MB / 0.5419 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 7.722e-05/0.6287, allocations: 116.9 kB / 0.8745 GB, free: 7.207 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.6287, allocations: 19.75 kB / 0.8745 GB, free: 7.188 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.6289, allocations: 101.6 kB / 0.8746 GB, free: 7.086 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6289, allocations: 0 / 0.8746 GB, free: 7.086 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6289, allocations: 0 / 0.8746 GB, free: 7.086 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.6289, allocations: 4 kB / 0.8746 GB, free: 7.082 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.6291, allocations: 190 kB / 0.8748 GB, free: 6.859 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6291, allocations: 0 / 0.8748 GB, free: 6.859 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.094e-05/0.6292, allocations: 24.64 kB / 0.8748 GB, free: 6.836 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.6292, allocations: 0 / 0.8748 GB, free: 6.836 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.6292, allocations: 4 kB / 0.8748 GB, free: 6.832 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.6292, allocations: 3.938 kB / 0.8748 GB, free: 6.828 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6292, allocations: 0 / 0.8748 GB, free: 6.828 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001983/0.6294, allocations: 171.6 kB / 0.875 GB, free: 6.625 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003029/0.6297, allocations: 0.5453 MB / 0.8755 GB, free: 6.039 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.6298, allocations: 96.91 kB / 0.8756 GB, free: 5.926 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.6298, allocations: 4 kB / 0.8756 GB, free: 5.922 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.851e-05/0.6299, allocations: 8 kB / 0.8756 GB, free: 5.914 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.63, allocations: 11.92 kB / 0.8757 GB, free: 5.902 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.63, allocations: 7.984 kB / 0.8757 GB, free: 5.895 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001237/0.6301, allocations: 133.4 kB / 0.8758 GB, free: 5.766 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008751/0.631, allocations: 51.83 kB / 0.8758 GB, free: 5.715 MB / 0.5419 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.0006969/0.6317, allocations: 347.4 kB / 0.8762 GB, free: 5.48 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001544/0.6319, allocations: 67.91 kB / 0.8762 GB, free: 5.414 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.6319, allocations: 3.938 kB / 0.8762 GB, free: 5.41 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 7.094e-05/0.632, allocations: 39.94 kB / 0.8763 GB, free: 5.371 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.6322, allocations: 23.97 kB / 0.8763 GB, free: 5.348 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/0.6326, allocations: 157.7 kB / 0.8764 GB, free: 5.164 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.633, allocations: 0.7347 MB / 0.8772 GB, free: 4.402 MB / 0.5419 GB Notification: Performance of SimCode: time 3.01e-07/0.633, allocations: 0 / 0.8772 GB, free: 4.402 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)