Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.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.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",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.002857/0.002857, allocations: 182.8 kB / 7.461 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.007956/0.007957, allocations: 0.9673 MB / 8.838 MB, free: 1.398 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.114/1.114, allocations: 221.4 MB / 230.9 MB, free: 1.73 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.0009176/0.0009173, allocations: 98.28 kB / 281.9 MB, free: 15.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1023/0.1032, allocations: 56.75 MB / 338.7 MB, free: 7.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.299, allocations: 50.62 MB / 389.3 MB, free: 37.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0828/0.3818, allocations: 78.62 MB / 467.9 MB, free: 6.797 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.3821, allocations: 72.84 kB / 468 MB, free: 6.727 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.0239/0.406, allocations: 8.783 MB / 476.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.406, allocations: 16 kB / 476.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.4061, allocations: 75.28 kB / 476.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.4062, allocations: 250.2 kB / 477.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/0.4063, allocations: 154.5 kB / 477.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.4063, allocations: 150.6 kB / 477.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.732e-05/0.4064, allocations: 150.6 kB / 477.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.152e-05/0.4064, allocations: 105 kB / 477.7 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.4064, allocations: 83.22 kB / 477.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/0.4065, allocations: 150.6 kB / 477.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.85e-05/0.4065, allocations: 154.5 kB / 478 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.4067, allocations: 426.5 kB / 478.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.466e-05/0.4068, allocations: 181 kB / 478.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/0.4068, allocations: 80.88 kB / 478.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.4069, allocations: 79.28 kB / 478.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.4069, allocations: 105.8 kB / 478.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4069, allocations: 0 / 478.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.66e-05/0.407, allocations: 33.7 kB / 478.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.407, allocations: 55.39 kB / 479 MB, free: 11.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.212e-05/0.4071, allocations: 93 kB / 479.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.4071, allocations: 29.64 kB / 479.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.266e-05/0.4071, allocations: 84.14 kB / 479.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.112e-06/0.4071, allocations: 0 / 479.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.4072, allocations: 0 / 479.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.453e-05/0.4072, allocations: 310.8 kB / 479.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-06/0.4073, allocations: 0 / 479.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-06/0.4073, allocations: 4 kB / 479.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.4073, allocations: 79.28 kB / 479.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-05/0.4073, allocations: 75.28 kB / 479.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.218e-05/0.4074, allocations: 37.59 kB / 479.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.4074, allocations: 4 kB / 479.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.4074, allocations: 83.28 kB / 479.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.789e-05/0.4075, allocations: 154.5 kB / 479.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.006e-05/0.4075, allocations: 79.28 kB / 480 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.161e-05/0.4076, allocations: 153.2 kB / 480.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.218e-05/0.4076, allocations: 79.22 kB / 480.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.4077, allocations: 79.28 kB / 480.3 MB, free: 10.24 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.258e-05/0.4078, allocations: 255.5 kB / 480.5 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.4078, allocations: 108.8 kB / 480.6 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.4079, allocations: 112.1 kB / 480.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.325e-05/0.4079, allocations: 181.2 kB / 480.9 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.636e-05/0.408, allocations: 176.3 kB / 481.1 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.312e-05/0.408, allocations: 188.2 kB / 481.3 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.4082, allocations: 377.8 kB / 481.7 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/0.4083, allocations: 113.1 kB / 481.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/0.4083, allocations: 108.9 kB / 481.9 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.955e-05/0.4084, allocations: 188.3 kB / 482.1 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/0.4084, allocations: 176.6 kB / 482.2 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.824e-05/0.4085, allocations: 180.2 kB / 482.4 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-05/0.4085, allocations: 184.3 kB / 482.6 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001057/0.4086, allocations: 315.6 kB / 482.9 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002366/0.4089, allocations: 0.6798 MB / 483.6 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.409, allocations: 190 kB / 483.8 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.409, allocations: 176.3 kB / 483.9 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.893e-05/0.4091, allocations: 108.9 kB / 484 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.4092, allocations: 180.3 kB / 484.2 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.4092, allocations: 105 kB / 484.3 MB, free: 5.977 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.828e-05/0.4092, allocations: 79.28 kB / 484.4 MB, free: 5.898 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001162/0.4104, allocations: 191.9 kB / 484.6 MB, free: 5.711 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.0009724/0.4114, allocations: 0.6056 MB / 485.2 MB, free: 5.156 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 2.983e-05/0.4114, allocations: 0 / 485.2 MB, free: 5.156 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4115, allocations: 0 / 485.2 MB, free: 5.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.4115, allocations: 0 / 485.2 MB, free: 5.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.4117, allocations: 0.5286 MB / 485.7 MB, free: 4.625 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001789/0.4119, allocations: 135 kB / 485.8 MB, free: 4.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.4121, allocations: 0.688 MB / 486.5 MB, free: 3.754 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4122, allocations: 0 / 486.5 MB, free: 3.754 MB / 362.7 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadReal_m.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadReal_m_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadReal_m.fmu > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1)