Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.979/1.979, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 173.3 kB / 487 MB, free: 5.359 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 221.3 MB / 0.7819 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 94.83 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4882/0.4893, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.7065, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6125/1.319, allocations: 152.8 MB / 1.354 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.319, allocations: 84.22 kB / 1.355 GB, free: 15.81 MB / 0.8073 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.01798/1.337, allocations: 6.261 MB / 1.361 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/1.337, allocations: 12 kB / 1.361 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/1.338, allocations: 8.516 kB / 1.361 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/1.338, allocations: 213.9 kB / 1.361 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/1.338, allocations: 8 kB / 1.361 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/1.338, allocations: 0.5625 kB / 1.361 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.921e-05/1.338, allocations: 35.98 kB / 1.361 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/1.338, allocations: 87.16 kB / 1.361 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/1.338, allocations: 4 kB / 1.361 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/1.338, allocations: 0.6094 kB / 1.361 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.338, allocations: 3.906 kB / 1.361 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/1.338, allocations: 191.4 kB / 1.361 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/1.338, allocations: 99.23 kB / 1.361 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/1.338, allocations: 39 kB / 1.361 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/1.339, allocations: 4 kB / 1.361 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/1.339, allocations: 95.14 kB / 1.361 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/1.339, allocations: 0 / 1.361 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0002125/1.339, allocations: 104.9 kB / 1.362 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/1.339, allocations: 141 kB / 1.362 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/1.339, allocations: 162.5 kB / 1.362 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/1.339, allocations: 25.7 kB / 1.362 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.961e-05/1.339, allocations: 93.36 kB / 1.362 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/1.339, allocations: 29.62 kB / 1.362 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/1.339, allocations: 0 / 1.362 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.531e-05/1.339, allocations: 322.7 kB / 1.362 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/1.339, allocations: 22.19 kB / 1.362 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-05/1.339, allocations: 55.83 kB / 1.362 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.426e-05/1.339, allocations: 33.61 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.339, allocations: 0 / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001607/1.339, allocations: 102.8 kB / 1.362 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.34, allocations: 12.12 kB / 1.362 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/1.34, allocations: 4.594 kB / 1.362 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/1.34, allocations: 0 / 1.362 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/1.34, allocations: 27.64 kB / 1.363 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/1.34, allocations: 4.562 kB / 1.363 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.515e-05/1.34, allocations: 9.781 kB / 1.363 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/1.34, allocations: 8.656 kB / 1.363 GB, free: 12.72 MB / 0.8073 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 6.236e-05/1.34, allocations: 114.1 kB / 1.363 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/1.34, allocations: 15.81 kB / 1.363 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/1.34, allocations: 108.2 kB / 1.363 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.34, allocations: 0.7969 kB / 1.363 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.34, allocations: 0 / 1.363 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/1.34, allocations: 4.797 kB / 1.363 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/1.34, allocations: 186.6 kB / 1.363 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.34, allocations: 4 kB / 1.363 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.997e-05/1.34, allocations: 23.73 kB / 1.363 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/1.34, allocations: 0 / 1.363 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/1.34, allocations: 4.562 kB / 1.363 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.34, allocations: 0.7969 kB / 1.363 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.34, allocations: 3.906 kB / 1.363 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001791/1.341, allocations: 170.8 kB / 1.363 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000238/1.341, allocations: 0.5452 MB / 1.364 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/1.341, allocations: 91.77 kB / 1.364 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/1.341, allocations: 12.2 kB / 1.364 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.904e-05/1.341, allocations: 10.77 kB / 1.364 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/1.341, allocations: 15.12 kB / 1.364 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/1.341, allocations: 9.406 kB / 1.364 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.194e-05/1.341, allocations: 127.9 kB / 1.364 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008429/1.342, allocations: 46.69 kB / 1.364 GB, free: 11.3 MB / 0.8073 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.0006403/1.343, allocations: 341.8 kB / 1.364 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001438/1.343, allocations: 64.45 kB / 1.364 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.343, allocations: 0 / 1.364 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.94e-05/1.343, allocations: 40.94 kB / 1.364 GB, free: 11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/1.343, allocations: 24.48 kB / 1.364 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/1.344, allocations: 169.4 kB / 1.365 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/1.344, allocations: 0.7302 MB / 1.365 GB, free: 26.08 MB / 0.823 GB Notification: Performance of SimCode: time 3.11e-07/1.344, allocations: 0 / 1.365 GB, free: 26.08 MB / 0.823 GB (rm -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat does not exist to compare? outputFormat=mat