Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_dev_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.003583/0.003583, allocations: 186 kB / 7.457 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.7307/0.7307, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.536/1.536, allocations: 221.3 MB / 395 MB, free: 10.2 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.001019/0.001018, allocations: 114.4 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5073/0.5083, allocations: 88.42 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.6887, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6234/1.312, allocations: 114.8 MB / 0.7454 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/1.312, allocations: 80.59 kB / 0.7455 GB, free: 10.58 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.01785/1.33, allocations: 6.27 MB / 0.7516 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.33, allocations: 8.969 kB / 0.7516 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/1.33, allocations: 10.28 kB / 0.7516 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/1.331, allocations: 218.3 kB / 0.7518 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/1.331, allocations: 1.188 kB / 0.7518 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/1.331, allocations: 2.562 kB / 0.7519 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001249/1.331, allocations: 29.62 kB / 0.7519 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/1.331, allocations: 100.4 kB / 0.752 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.331, allocations: 0 / 0.752 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/1.331, allocations: 0 / 0.752 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/1.331, allocations: 1.344 kB / 0.752 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/1.332, allocations: 188.5 kB / 0.7522 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/1.332, allocations: 100 kB / 0.7523 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.559e-05/1.332, allocations: 37.33 kB / 0.7523 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/1.332, allocations: 1.312 kB / 0.7523 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/1.332, allocations: 109.5 kB / 0.7524 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/1.332, allocations: 0 / 0.7524 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0003224/1.332, allocations: 98.72 kB / 0.7525 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.547e-05/1.332, allocations: 129.8 kB / 0.7526 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/1.333, allocations: 164.7 kB / 0.7528 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/1.333, allocations: 30.98 kB / 0.7528 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/1.333, allocations: 88.88 kB / 0.7529 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/1.333, allocations: 26.75 kB / 0.7529 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/1.333, allocations: 0 / 0.7529 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.333, allocations: 328.9 kB / 0.7532 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.953e-05/1.333, allocations: 21.36 kB / 0.7532 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/1.333, allocations: 58.83 kB / 0.7533 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.163e-05/1.333, allocations: 28.91 kB / 0.7533 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.333, allocations: 0 / 0.7533 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002036/1.333, allocations: 108.3 kB / 0.7534 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.333, allocations: 9.062 kB / 0.7534 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.333, allocations: 5.219 kB / 0.7534 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/1.333, allocations: 1.344 kB / 0.7534 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/1.334, allocations: 25.94 kB / 0.7535 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/1.334, allocations: 4.5 kB / 0.7535 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.778e-05/1.334, allocations: 9.031 kB / 0.7535 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/1.334, allocations: 2.625 kB / 0.7535 GB, free: 24.37 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 9.597e-05/1.334, allocations: 134 kB / 0.7536 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/1.334, allocations: 10.16 kB / 0.7536 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/1.334, allocations: 105 kB / 0.7537 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.334, allocations: 6.406 kB / 0.7537 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.334, allocations: 0 / 0.7537 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.334, allocations: 1.312 kB / 0.7537 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/1.334, allocations: 186.9 kB / 0.7539 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.334, allocations: 1.344 kB / 0.7539 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.533e-05/1.334, allocations: 19.89 kB / 0.7539 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/1.334, allocations: 5.125 kB / 0.7539 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/1.334, allocations: 4.75 kB / 0.7539 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.334, allocations: 5.281 kB / 0.7539 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.334, allocations: 1.312 kB / 0.7539 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002058/1.335, allocations: 161.7 kB / 0.7541 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003509/1.335, allocations: 0.5453 MB / 0.7546 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/1.335, allocations: 97.28 kB / 0.7547 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/1.335, allocations: 2.5 kB / 0.7547 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/1.335, allocations: 13.97 kB / 0.7547 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/1.335, allocations: 12.42 kB / 0.7547 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/1.335, allocations: 7.062 kB / 0.7548 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001217/1.335, allocations: 130.7 kB / 0.7549 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000866/1.336, allocations: 47.89 kB / 0.7549 GB, free: 23.2 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.0009722/1.337, allocations: 352.3 kB / 0.7553 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000229/1.337, allocations: 68 kB / 0.7553 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.337, allocations: 0.625 kB / 0.7553 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/1.338, allocations: 41.17 kB / 0.7554 GB, free: 23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/1.338, allocations: 21.75 kB / 0.7554 GB, free: 23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/1.338, allocations: 160.2 kB / 0.7555 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/1.339, allocations: 0.7396 MB / 0.7563 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/1.339, allocations: 0 / 0.7563 GB, free: 22.19 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)