Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",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.002341/0.002341, allocations: 183.7 kB / 7.462 MB, free: 2.457 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.004748/0.004748, allocations: 0.9669 MB / 8.835 MB, free: 1.391 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.154/1.154, allocations: 221.4 MB / 230.9 MB, free: 1.762 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.0009973/0.0009973, allocations: 102.2 kB / 281.9 MB, free: 8 kB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1045/0.1055, allocations: 56.74 MB / 338.7 MB, free: 7.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.3234, allocations: 50.62 MB / 389.3 MB, free: 37.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08511/0.4086, allocations: 76.34 MB / 465.6 MB, free: 9.207 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.4088, allocations: 65.06 kB / 465.7 MB, free: 9.145 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.01785/0.4267, allocations: 6.53 MB / 472.2 MB, free: 2.602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.4268, allocations: 12 kB / 472.2 MB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.4268, allocations: 83.19 kB / 472.3 MB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.4271, allocations: 278.1 kB / 472.6 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.4271, allocations: 154.5 kB / 472.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.4272, allocations: 154.6 kB / 472.9 MB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.081e-05/0.4272, allocations: 154.5 kB / 473.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.659e-05/0.4273, allocations: 109.1 kB / 473.2 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.4273, allocations: 75.28 kB / 473.2 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.4274, allocations: 150.6 kB / 473.4 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.466e-05/0.4274, allocations: 154.6 kB / 473.5 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.4277, allocations: 446.5 kB / 474 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.491e-05/0.4278, allocations: 173.1 kB / 474.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.4278, allocations: 84.08 kB / 474.2 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.4278, allocations: 75.28 kB / 474.3 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.4279, allocations: 113.8 kB / 474.4 MB, free: 324 kB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.4279, allocations: 0 / 474.4 MB, free: 324 kB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 7.076e-05/0.428, allocations: 29.7 kB / 474.4 MB, free: 288 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.428, allocations: 63.3 kB / 474.5 MB, free: 212 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.4282, allocations: 145.3 kB / 474.6 MB, free: 56 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.4282, allocations: 25.7 kB / 474.7 MB, free: 24 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.4282, allocations: 92.12 kB / 474.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.032e-06/0.4282, allocations: 0 / 474.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-06/0.4282, allocations: 0 / 474.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.4283, allocations: 314.8 kB / 475.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-06/0.4283, allocations: 0 / 475.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.4284, allocations: 11.94 kB / 475.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.4284, allocations: 79.27 kB / 475.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/0.4284, allocations: 75.28 kB / 475.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.325e-05/0.4285, allocations: 33.61 kB / 475.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.4285, allocations: 4 kB / 475.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/0.4285, allocations: 79.28 kB / 475.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.978e-05/0.4286, allocations: 158.5 kB / 475.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.281e-05/0.4286, allocations: 75.28 kB / 475.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.21e-05/0.4287, allocations: 154.6 kB / 475.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.409e-05/0.4288, allocations: 83.22 kB / 475.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.4288, allocations: 79.27 kB / 475.9 MB, free: 14.79 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 8.675e-05/0.4289, allocations: 251.5 kB / 476.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.731e-05/0.429, allocations: 108.9 kB / 476.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.108e-05/0.429, allocations: 124.4 kB / 476.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.777e-05/0.4291, allocations: 180.2 kB / 476.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.402e-05/0.4291, allocations: 181.2 kB / 476.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-05/0.4292, allocations: 180.2 kB / 476.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.4294, allocations: 393.8 kB / 477.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.642e-05/0.4294, allocations: 113 kB / 477.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.4295, allocations: 108.9 kB / 477.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-05/0.4295, allocations: 180.3 kB / 477.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/0.4296, allocations: 180.2 kB / 477.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.182e-05/0.4297, allocations: 180.5 kB / 478 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.244e-05/0.4297, allocations: 176.3 kB / 478.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001262/0.4298, allocations: 323.6 kB / 478.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002189/0.4301, allocations: 0.6776 MB / 479.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.723e-05/0.4302, allocations: 197.9 kB / 479.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.856e-05/0.4303, allocations: 176.3 kB / 479.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.4304, allocations: 108.9 kB / 479.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.4304, allocations: 184.2 kB / 479.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.4305, allocations: 109 kB / 479.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001104/0.4306, allocations: 126.2 kB / 480.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001011/0.4316, allocations: 111.8 kB / 480.2 MB, free: 10.26 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0006106/0.4322, allocations: 404.6 kB / 480.6 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 2.967e-05/0.4322, allocations: 4 kB / 480.6 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4323, allocations: 4 kB / 480.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.4323, allocations: 0 / 480.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.4326, allocations: 0.5223 MB / 481.1 MB, free: 9.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.4328, allocations: 167.1 kB / 481.3 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.4331, allocations: 0.7136 MB / 482 MB, free: 8.438 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4331, allocations: 4 kB / 482 MB, free: 8.434 MB / 362.7 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadRealCSV_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1)