Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_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.003561/0.003561, allocations: 186.9 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7208/0.7208, allocations: 133.5 MB / 141.4 MB, free: 15.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009638/0.0009637, allocations: 95.73 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.474/0.475, allocations: 88.44 MB / 0.5529 GB, free: 88.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.6654, allocations: 82.3 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6239/1.289, allocations: 114.8 MB / 0.7454 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/1.29, allocations: 84.16 kB / 0.7455 GB, free: 10.7 MB / 0.4948 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.01922/1.309, allocations: 6.242 MB / 0.7516 GB, free: 26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/1.309, allocations: 8.719 kB / 0.7516 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/1.309, allocations: 14 kB / 0.7516 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/1.31, allocations: 218.6 kB / 0.7518 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/1.31, allocations: 1.312 kB / 0.7518 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/1.31, allocations: 6.656 kB / 0.7518 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001382/1.31, allocations: 37.28 kB / 0.7519 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/1.31, allocations: 93.06 kB / 0.752 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/1.31, allocations: 0 / 0.752 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/1.31, allocations: 1.406 kB / 0.752 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/1.31, allocations: 1.375 kB / 0.752 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/1.31, allocations: 192.4 kB / 0.7522 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/1.31, allocations: 98.25 kB / 0.7523 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.454e-05/1.311, allocations: 39.16 kB / 0.7523 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/1.311, allocations: 8.641 kB / 0.7523 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/1.311, allocations: 101.8 kB / 0.7524 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/1.311, allocations: 3.938 kB / 0.7524 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0003128/1.311, allocations: 99.64 kB / 0.7525 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.39e-05/1.311, allocations: 133.9 kB / 0.7526 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/1.311, allocations: 163.4 kB / 0.7528 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/1.311, allocations: 25.7 kB / 0.7528 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/1.311, allocations: 91.3 kB / 0.7529 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/1.312, allocations: 29.78 kB / 0.7529 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/1.312, allocations: 0 / 0.7529 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.312, allocations: 325.7 kB / 0.7532 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.606e-05/1.312, allocations: 22.62 kB / 0.7532 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.79e-05/1.312, allocations: 54.39 kB / 0.7533 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.202e-05/1.312, allocations: 34.41 kB / 0.7533 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.312, allocations: 0 / 0.7533 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002102/1.312, allocations: 102.2 kB / 0.7534 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/1.312, allocations: 9.281 kB / 0.7534 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.312, allocations: 5.469 kB / 0.7534 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.312, allocations: 1.312 kB / 0.7534 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/1.312, allocations: 25.06 kB / 0.7535 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/1.312, allocations: 9.234 kB / 0.7535 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.072e-05/1.312, allocations: 11.61 kB / 0.7535 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/1.312, allocations: 3.844 kB / 0.7535 GB, free: 24.5 MB / 0.5105 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.0001145/1.313, allocations: 119.4 kB / 0.7536 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/1.313, allocations: 10.5 kB / 0.7536 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/1.313, allocations: 101.8 kB / 0.7537 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/1.313, allocations: 5.281 kB / 0.7537 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.313, allocations: 1.344 kB / 0.7537 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/1.313, allocations: 1.312 kB / 0.7537 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/1.313, allocations: 182.7 kB / 0.7539 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.313, allocations: 1.281 kB / 0.7539 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/1.313, allocations: 26.52 kB / 0.7539 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.313, allocations: 5.25 kB / 0.7539 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/1.313, allocations: 7.219 kB / 0.7539 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.313, allocations: 1.438 kB / 0.7539 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.313, allocations: 5.344 kB / 0.7539 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000255/1.314, allocations: 171.9 kB / 0.7541 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004037/1.314, allocations: 0.5485 MB / 0.7546 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/1.314, allocations: 92.86 kB / 0.7547 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/1.314, allocations: 2.656 kB / 0.7547 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.445e-05/1.314, allocations: 13.91 kB / 0.7547 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/1.314, allocations: 7.984 kB / 0.7548 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/1.314, allocations: 6.875 kB / 0.7548 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001539/1.314, allocations: 134.5 kB / 0.7549 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008637/1.315, allocations: 44.28 kB / 0.7549 GB, free: 23.34 MB / 0.5105 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.0009837/1.316, allocations: 355 kB / 0.7553 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002389/1.317, allocations: 63.25 kB / 0.7553 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.317, allocations: 0.5938 kB / 0.7553 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/1.317, allocations: 39.94 kB / 0.7554 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/1.317, allocations: 23.31 kB / 0.7554 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/1.318, allocations: 167.1 kB / 0.7555 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/1.318, allocations: 0.7329 MB / 0.7563 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/1.318, allocations: 0 / 0.7563 GB, free: 22.33 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)