Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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/KeyWordIO 0.11.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 KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.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(KeyWordIO.Examples.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",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.002161/0.002161, allocations: 179.7 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.004688/0.004688, allocations: 0.9679 MB / 8.839 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.12/1.12, allocations: 221.4 MB / 230.9 MB, free: 1.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008666/0.0008665, allocations: 96.3 kB / 281.9 MB, free: 272 kB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1015/0.1024, allocations: 56.75 MB / 338.7 MB, free: 7.484 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.2971, allocations: 50.62 MB / 389.3 MB, free: 37.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08241/0.3796, allocations: 76.54 MB / 465.8 MB, free: 9.023 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.3798, allocations: 67.91 kB / 465.9 MB, free: 8.957 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.01886/0.3987, allocations: 6.722 MB / 472.6 MB, free: 2.227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3987, allocations: 8 kB / 472.6 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/0.3988, allocations: 87.17 kB / 472.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.3991, allocations: 274.2 kB / 473 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.3991, allocations: 150.6 kB / 473.1 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.996e-05/0.3992, allocations: 162.5 kB / 473.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.986e-05/0.3992, allocations: 154.5 kB / 473.4 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.299e-05/0.3993, allocations: 105 kB / 473.5 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.3993, allocations: 75.28 kB / 473.6 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.665e-05/0.3994, allocations: 150.6 kB / 473.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/0.3995, allocations: 154.6 kB / 473.9 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.3998, allocations: 438.5 kB / 474.3 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.963e-05/0.3998, allocations: 177.1 kB / 474.5 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.3999, allocations: 84.08 kB / 474.6 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.3999, allocations: 79.28 kB / 474.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.4001, allocations: 87.19 kB / 474.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.524e-06/0.4001, allocations: 0 / 474.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001159/0.4002, allocations: 37.7 kB / 474.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.4003, allocations: 51.41 kB / 474.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.4004, allocations: 121 kB / 475 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.4004, allocations: 29.7 kB / 475 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.4004, allocations: 84.12 kB / 475.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.4005, allocations: 7.906 kB / 475.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-06/0.4005, allocations: 0 / 475.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.4006, allocations: 318.9 kB / 475.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-06/0.4006, allocations: 3.938 kB / 475.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-06/0.4006, allocations: 0 / 475.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.678e-06/0.4006, allocations: 0 / 475.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4006, allocations: 0 / 475.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.417e-05/0.4007, allocations: 41.59 kB / 475.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.4007, allocations: 4 kB / 475.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.4007, allocations: 0 / 475.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.4007, allocations: 96 / 475.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-05/0.4007, allocations: 8 kB / 475.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.4008, allocations: 3.938 kB / 475.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.4008, allocations: 0 / 475.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.4008, allocations: 4 kB / 475.5 MB, free: 15.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.482e-05/0.4009, allocations: 109 kB / 475.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.4009, allocations: 11.89 kB / 475.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.4009, allocations: 7.469 kB / 475.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4009, allocations: 3.984 kB / 475.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4009, allocations: 0 / 475.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.401, allocations: 4 kB / 475.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.4011, allocations: 146.1 kB / 475.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4011, allocations: 3.938 kB / 475.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-06/0.4011, allocations: 0 / 475.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.4011, allocations: 0 / 475.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.4011, allocations: 0 / 475.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4011, allocations: 6.266 kB / 475.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4011, allocations: 3.984 kB / 475.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.048e-05/0.4012, allocations: 65.05 kB / 475.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001928/0.4014, allocations: 449.4 kB / 476.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.4015, allocations: 93 kB / 476.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.4015, allocations: 4 kB / 476.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.536e-05/0.4015, allocations: 3.938 kB / 476.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.4015, allocations: 4.062 kB / 476.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.4015, allocations: 4 kB / 476.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.882e-05/0.4016, allocations: 107.3 kB / 476.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009581/0.4026, allocations: 151.8 kB / 476.6 MB, free: 13.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0007152/0.4033, allocations: 380.9 kB / 477 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.373e-05/0.4034, allocations: 7.938 kB / 477 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4034, allocations: 4.062 kB / 477 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.897e-06/0.4034, allocations: 0 / 477 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.4035, allocations: 15.89 kB / 477 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000224/0.4037, allocations: 71.77 kB / 477.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.4041, allocations: 0.7114 MB / 477.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4041, allocations: 0 / 477.8 MB, free: 12.78 MB / 362.7 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadStringCSV_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadStringCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1)