Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.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.ReadRealParameter,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealParameter,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealParameter",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.00353/0.00353, allocations: 179.7 kB / 7.456 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.007498/0.007498, allocations: 0.9713 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.215/1.215, allocations: 221.4 MB / 230.9 MB, free: 1.734 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.0008902/0.0008902, allocations: 83.73 kB / 281.9 MB, free: 4 kB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1063/0.1072, allocations: 56.76 MB / 338.7 MB, free: 7.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.3215, allocations: 50.61 MB / 389.3 MB, free: 37.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08799/0.4096, allocations: 78.37 MB / 467.7 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.4098, allocations: 71.91 kB / 467.7 MB, free: 7.016 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.02225/0.4321, allocations: 8.122 MB / 475.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.4321, allocations: 8 kB / 475.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.4322, allocations: 79.28 kB / 475.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.4323, allocations: 246.3 kB / 476.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.4324, allocations: 150.6 kB / 476.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.4324, allocations: 150.6 kB / 476.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.751e-05/0.4325, allocations: 154.5 kB / 476.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.696e-05/0.4325, allocations: 105 kB / 476.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.4326, allocations: 79.28 kB / 476.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.4326, allocations: 158.5 kB / 477 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-05/0.4327, allocations: 154.5 kB / 477.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.4329, allocations: 422.5 kB / 477.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.947e-05/0.433, allocations: 173.1 kB / 477.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.433, allocations: 88.02 kB / 477.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.4331, allocations: 75.28 kB / 477.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.4331, allocations: 113.8 kB / 478 MB, free: 12.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.4331, allocations: 0 / 478 MB, free: 12.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.766e-05/0.4332, allocations: 33.69 kB / 478 MB, free: 12.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.4332, allocations: 55.41 kB / 478 MB, free: 12.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.649e-05/0.4333, allocations: 89 kB / 478.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.4333, allocations: 25.7 kB / 478.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.4334, allocations: 84.14 kB / 478.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.4334, allocations: 0 / 478.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-07/0.4334, allocations: 0 / 478.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4335, allocations: 314.8 kB / 478.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-06/0.4335, allocations: 0 / 478.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.4335, allocations: 3.938 kB / 478.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.082e-05/0.4336, allocations: 83.27 kB / 478.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.854e-05/0.4336, allocations: 75.28 kB / 478.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.256e-05/0.4337, allocations: 33.61 kB / 478.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4337, allocations: 5.719 kB / 478.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/0.4337, allocations: 75.28 kB / 478.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.42e-05/0.4338, allocations: 154.7 kB / 479 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.688e-05/0.4338, allocations: 83.28 kB / 479.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.727e-05/0.4339, allocations: 154.6 kB / 479.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.891e-05/0.4339, allocations: 79.22 kB / 479.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.434, allocations: 79.27 kB / 479.4 MB, free: 11.2 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 0.0001003/0.4341, allocations: 255.5 kB / 479.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.4341, allocations: 108.9 kB / 479.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.4342, allocations: 108.1 kB / 479.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.878e-05/0.4343, allocations: 181.2 kB / 480 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.938e-05/0.4343, allocations: 188.2 kB / 480.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.703e-05/0.4344, allocations: 180.2 kB / 480.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.4346, allocations: 377.8 kB / 480.7 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-05/0.4346, allocations: 109 kB / 480.8 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.636e-05/0.4347, allocations: 108.9 kB / 480.9 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.368e-05/0.4347, allocations: 176.3 kB / 481.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.4348, allocations: 176.6 kB / 481.3 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.886e-05/0.4348, allocations: 184.1 kB / 481.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.877e-05/0.4349, allocations: 188.2 kB / 481.6 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001351/0.4351, allocations: 311.8 kB / 482 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003042/0.4354, allocations: 0.6837 MB / 482.6 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.4354, allocations: 182 kB / 482.8 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.207e-05/0.4355, allocations: 180.3 kB / 483 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.678e-05/0.4356, allocations: 109 kB / 483.1 MB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.4357, allocations: 188.1 kB / 483.3 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.4357, allocations: 101 kB / 483.4 MB, free: 6.945 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.613e-05/0.4358, allocations: 79.28 kB / 483.5 MB, free: 6.867 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001314/0.4371, allocations: 183.9 kB / 483.6 MB, free: 6.688 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.001371/0.4385, allocations: 0.5786 MB / 484.2 MB, free: 6.152 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.512e-05/0.4385, allocations: 0 / 484.2 MB, free: 6.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4385, allocations: 0 / 484.2 MB, free: 6.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.4385, allocations: 0 / 484.2 MB, free: 6.152 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.4388, allocations: 0.5229 MB / 484.7 MB, free: 5.625 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.4391, allocations: 139 kB / 484.9 MB, free: 5.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.4393, allocations: 0.688 MB / 485.6 MB, free: 4.75 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4393, allocations: 0 / 485.6 MB, free: 4.75 MB / 362.7 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealParameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadRealParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealParameter.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1)