Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",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 3.2.3+maint.om/package.mo): time 0.002004/0.002004, allocations: 190.8 kB / 7.807 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.2 MB / 213.4 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 92.28 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2429/0.2429, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2696/0.5126, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.9135, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.842/2.755, allocations: 0.8262 GB / 1.292 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/2.756, allocations: 91.94 kB / 1.292 GB, free: 115.7 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 2.667/5.423, allocations: 0.7373 GB / 2.029 GB, free: 78.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/5.423, allocations: 7.688 kB / 2.029 GB, free: 78.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/5.425, allocations: 292.2 kB / 2.029 GB, free: 78.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/5.427, allocations: 0.6771 MB / 2.03 GB, free: 78.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/5.427, allocations: 87.97 kB / 2.03 GB, free: 77.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/5.427, allocations: 41.59 kB / 2.03 GB, free: 77.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0017/5.429, allocations: 0.8949 MB / 2.031 GB, free: 77.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/5.431, allocations: 1.154 MB / 2.032 GB, free: 77.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/5.431, allocations: 0 / 2.032 GB, free: 77.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/5.431, allocations: 3.938 kB / 2.032 GB, free: 77.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.046e-05/5.431, allocations: 76.52 kB / 2.032 GB, free: 77.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00681/5.438, allocations: 4.906 MB / 2.037 GB, free: 74.94 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/5.438, allocations: 205.8 kB / 2.037 GB, free: 74.92 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/5.439, allocations: 132.1 kB / 2.037 GB, free: 74.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002664/5.439, allocations: 241.4 kB / 2.038 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/5.439, allocations: 48.05 kB / 2.038 GB, free: 74.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.595e-06/5.439, allocations: 0 / 2.038 GB, free: 74.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.006766/5.446, allocations: 1.527 MB / 2.039 GB, free: 74.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/5.446, allocations: 140.8 kB / 2.039 GB, free: 73.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/5.447, allocations: 0.6604 MB / 2.04 GB, free: 73.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.579e-05/5.447, allocations: 25.7 kB / 2.04 GB, free: 73.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/5.448, allocations: 0.4996 MB / 2.04 GB, free: 73.47 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/5.448, allocations: 125.2 kB / 2.04 GB, free: 73.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/5.448, allocations: 0 / 2.04 GB, free: 73.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001318/5.448, allocations: 396.3 kB / 2.041 GB, free: 73.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/5.448, allocations: 244.2 kB / 2.041 GB, free: 73.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006594/5.449, allocations: 0.8405 MB / 2.042 GB, free: 72.35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006535/5.45, allocations: 439.9 kB / 2.042 GB, free: 72.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/5.45, allocations: 11.25 kB / 2.042 GB, free: 72.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001714/5.451, allocations: 1.069 MB / 2.043 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/5.451, allocations: 3.281 kB / 2.043 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/5.451, allocations: 20.56 kB / 2.043 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/5.453, allocations: 267.3 kB / 2.044 GB, free: 72.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/5.453, allocations: 206.1 kB / 2.044 GB, free: 72.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/5.455, allocations: 0.9275 MB / 2.045 GB, free: 71.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/5.456, allocations: 39.66 kB / 2.045 GB, free: 71.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/5.456, allocations: 71.78 kB / 2.045 GB, free: 71.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002198/5.456, allocations: 157.4 kB / 2.045 GB, free: 71.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/5.456, allocations: 78.94 kB / 2.045 GB, free: 71.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009783/5.457, allocations: 466.5 kB / 2.046 GB, free: 71.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/5.457, allocations: 3.688 kB / 2.046 GB, free: 71.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/5.457, allocations: 0 / 2.046 GB, free: 71.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/5.457, allocations: 3.188 kB / 2.046 GB, free: 71.51 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/5.46, allocations: 1.033 MB / 2.047 GB, free: 71.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/5.46, allocations: 0 / 2.047 GB, free: 71.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/5.461, allocations: 174.6 kB / 2.047 GB, free: 71.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/5.461, allocations: 24.27 kB / 2.047 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/5.461, allocations: 6.281 kB / 2.047 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/5.462, allocations: 2.571 MB / 2.049 GB, free: 68.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/5.462, allocations: 0 / 2.049 GB, free: 68.77 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009667/5.463, allocations: 0.6796 MB / 2.05 GB, free: 68.56 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001446/5.465, allocations: 1.293 MB / 2.051 GB, free: 67.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/5.465, allocations: 194.9 kB / 2.051 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/5.465, allocations: 3.656 kB / 2.051 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006368/5.466, allocations: 17.47 kB / 2.051 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/5.466, allocations: 22.12 kB / 2.051 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.402e-05/5.466, allocations: 21 kB / 2.051 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0007596/5.467, allocations: 491.6 kB / 2.052 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00336/5.47, allocations: 0.5853 MB / 2.052 GB, free: 67.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004515/5.475, allocations: 1.662 MB / 2.054 GB, free: 67.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001543/5.476, allocations: 0.6128 MB / 2.055 GB, free: 67.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/5.477, allocations: 2.25 kB / 2.055 GB, free: 67.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/5.478, allocations: 396.3 kB / 2.055 GB, free: 67.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/5.48, allocations: 295 kB / 2.055 GB, free: 67.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/5.483, allocations: 1.156 MB / 2.056 GB, free: 67.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/5.484, allocations: 1.147 MB / 2.058 GB, free: 66.34 MB / 0.5105 GB Notification: Performance of SimCode: time 9.21e-07/5.484, allocations: 0 / 2.058 GB, free: 66.34 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)