Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.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.ReadStringCSVUnquoted,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSVUnquoted,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted",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.002461/0.002461, allocations: 180.2 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.00474/0.00474, allocations: 0.9699 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.115/1.115, allocations: 221.4 MB / 230.9 MB, free: 1.746 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.0008803/0.0008804, allocations: 99.92 kB / 281.9 MB, free: 224 kB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1043/0.1052, allocations: 56.75 MB / 338.7 MB, free: 7.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.2999, allocations: 50.62 MB / 389.3 MB, free: 37.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08133/0.3813, allocations: 76.54 MB / 465.8 MB, free: 9.004 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.3815, allocations: 73.05 kB / 465.9 MB, free: 8.934 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.01807/0.3996, allocations: 6.422 MB / 472.3 MB, free: 2.488 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3997, allocations: 8 kB / 472.3 MB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.935e-05/0.3997, allocations: 87.17 kB / 472.4 MB, free: 2.395 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.4, allocations: 258.3 kB / 472.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.4, allocations: 150.6 kB / 472.8 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.4001, allocations: 162.5 kB / 473 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.761e-05/0.4001, allocations: 150.6 kB / 473.1 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.215e-05/0.4002, allocations: 104.9 kB / 473.2 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.4002, allocations: 75.28 kB / 473.3 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.033e-05/0.4003, allocations: 150.6 kB / 473.4 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.4003, allocations: 150.6 kB / 473.6 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.4006, allocations: 446.5 kB / 474 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.315e-05/0.4006, allocations: 169.1 kB / 474.2 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.4007, allocations: 80.14 kB / 474.3 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.4007, allocations: 79.27 kB / 474.4 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.359e-05/0.4008, allocations: 76.97 kB / 474.4 MB, free: 268 kB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 2.265e-06/0.4008, allocations: 0 / 474.4 MB, free: 268 kB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001194/0.4009, allocations: 33.69 kB / 474.5 MB, free: 228 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.401, allocations: 136.5 kB / 474.6 MB, free: 60 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.4011, allocations: 113 kB / 474.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.4011, allocations: 25.7 kB / 474.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.4012, allocations: 88.14 kB / 474.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.4012, allocations: 8.016 kB / 474.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-06/0.4012, allocations: 0 / 474.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.4013, allocations: 322.7 kB / 475.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-06/0.4013, allocations: 0 / 475.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-06/0.4013, allocations: 0 / 475.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.445e-05/0.4013, allocations: 3.938 kB / 475.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.4013, allocations: 0 / 475.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.904e-05/0.4014, allocations: 37.7 kB / 475.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.4014, allocations: 4 kB / 475.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4014, allocations: 9.875 kB / 475.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.4014, allocations: 0 / 475.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.749e-06/0.4014, allocations: 11.92 kB / 475.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4015, allocations: 0 / 475.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.4015, allocations: 3.938 kB / 475.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.4015, allocations: 0 / 475.2 MB, free: 15.41 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001055/0.4016, allocations: 130.7 kB / 475.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.4016, allocations: 7.906 kB / 475.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.4017, allocations: 3.469 kB / 475.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.4017, allocations: 4 kB / 475.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4017, allocations: 0 / 475.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4017, allocations: 4 kB / 475.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.212e-05/0.4018, allocations: 138.2 kB / 475.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4018, allocations: 0 / 475.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.4018, allocations: 4 kB / 475.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4018, allocations: 3.906 kB / 475.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.4018, allocations: 0 / 475.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4018, allocations: 4 kB / 475.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4018, allocations: 0 / 475.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.438e-05/0.4019, allocations: 72.97 kB / 475.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001917/0.4021, allocations: 449.5 kB / 476 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.4022, allocations: 85.09 kB / 476.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.4022, allocations: 0 / 476.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.741e-05/0.4022, allocations: 11.97 kB / 476.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.4023, allocations: 0 / 476.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.4023, allocations: 0 / 476.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.74e-05/0.4023, allocations: 103.3 kB / 476.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001022/0.4034, allocations: 143.8 kB / 476.3 MB, free: 14.16 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: 1 ($whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007024/0.4041, allocations: 391.2 kB / 476.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.317e-05/0.4041, allocations: 29.7 kB / 476.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4042, allocations: 4.062 kB / 476.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.83e-05/0.4042, allocations: 33.64 kB / 476.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001064/0.4043, allocations: 8 kB / 476.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001841/0.4045, allocations: 63.78 kB / 476.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/0.4047, allocations: 0.7035 MB / 477.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4048, allocations: 0 / 477.6 MB, free: 12.93 MB / 362.7 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1)