Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",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 trunk/package.mo): time 0.001097/0.001096, allocations: 202.7 kB / 8.54 MB, free: 1.793 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.148/1.148, allocations: 225.5 MB / 234.4 MB, free: 3.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008926/0.0008926, allocations: 91.73 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09909/0.1, allocations: 56.88 MB / 343.2 MB, free: 8.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08701/0.187, allocations: 51.48 MB / 394.7 MB, free: 5.125 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/1.28, allocations: 0.7068 GB / 1.092 GB, free: 12.14 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001592/1.28, allocations: 67.41 kB / 1.092 GB, free: 12.11 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.3701/1.65, allocations: 109.5 MB / 1.199 GB, free: 96.03 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/1.65, allocations: 13.12 kB / 1.199 GB, free: 96.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/1.652, allocations: 295.1 kB / 1.2 GB, free: 95.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/1.652, allocations: 282.7 kB / 1.2 GB, free: 95.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/1.652, allocations: 12 kB / 1.2 GB, free: 95.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-05/1.652, allocations: 23.84 kB / 1.2 GB, free: 95.38 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008513/1.653, allocations: 0.6105 MB / 1.201 GB, free: 94.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000824/1.654, allocations: 0.5853 MB / 1.201 GB, free: 94.17 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/1.654, allocations: 0 / 1.201 GB, free: 94.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.145e-05/1.654, allocations: 0 / 1.201 GB, free: 94.17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/1.654, allocations: 12.44 kB / 1.201 GB, free: 94.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003429/1.658, allocations: 1.756 MB / 1.203 GB, free: 92.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/1.658, allocations: 360.8 kB / 1.203 GB, free: 91.99 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/1.658, allocations: 177.7 kB / 1.203 GB, free: 91.81 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/1.66, allocations: 0.9035 MB / 1.204 GB, free: 90.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/1.66, allocations: 38.56 kB / 1.204 GB, free: 90.72 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 2.344e-06/1.66, allocations: 0 / 1.204 GB, free: 90.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=48): time 0.0072/1.667, allocations: 2.207 MB / 1.206 GB, free: 88.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/1.667, allocations: 81.11 kB / 1.206 GB, free: 88.26 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/1.667, allocations: 163.2 kB / 1.207 GB, free: 88.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/1.667, allocations: 25.7 kB / 1.207 GB, free: 88.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/1.667, allocations: 176.1 kB / 1.207 GB, free: 87.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/1.667, allocations: 173.4 kB / 1.207 GB, free: 87.72 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/1.667, allocations: 0 / 1.207 GB, free: 87.72 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.025e-05/1.668, allocations: 334.8 kB / 1.207 GB, free: 87.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/1.668, allocations: 197.3 kB / 1.207 GB, free: 87.19 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/1.668, allocations: 360.9 kB / 1.208 GB, free: 86.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/1.669, allocations: 237.9 kB / 1.208 GB, free: 86.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.669, allocations: 4 kB / 1.208 GB, free: 86.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001106/1.67, allocations: 0.6278 MB / 1.209 GB, free: 85.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.67, allocations: 11.92 kB / 1.209 GB, free: 85.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.67, allocations: 4 kB / 1.209 GB, free: 85.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001725/1.67, allocations: 50.33 kB / 1.209 GB, free: 85.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.671, allocations: 183.7 kB / 1.209 GB, free: 85.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004523/1.672, allocations: 1.085 MB / 1.21 GB, free: 84.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007649/1.672, allocations: 39.86 kB / 1.21 GB, free: 84.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.335e-05/1.672, allocations: 39.97 kB / 1.21 GB, free: 84.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001526/1.673, allocations: 128.8 kB / 1.21 GB, free: 84.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/1.673, allocations: 23.72 kB / 1.21 GB, free: 84.28 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/1.674, allocations: 0.6811 MB / 1.211 GB, free: 83.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.674, allocations: 8 kB / 1.211 GB, free: 83.58 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.674, allocations: 0 / 1.211 GB, free: 83.58 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/1.674, allocations: 3.984 kB / 1.211 GB, free: 83.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/1.677, allocations: 1.364 MB / 1.212 GB, free: 82.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.677, allocations: 4 kB / 1.212 GB, free: 82.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/1.678, allocations: 139.8 kB / 1.212 GB, free: 82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/1.678, allocations: 45.91 kB / 1.212 GB, free: 81.95 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-05/1.678, allocations: 19.97 kB / 1.212 GB, free: 81.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/1.679, allocations: 2.413 MB / 1.215 GB, free: 79.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/1.679, allocations: 8.031 kB / 1.215 GB, free: 79.28 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001337/1.681, allocations: 0.9828 MB / 1.216 GB, free: 78.2 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001726/1.682, allocations: 1.623 MB / 1.217 GB, free: 76.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/1.682, allocations: 104.8 kB / 1.217 GB, free: 76.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/1.683, allocations: 4 kB / 1.217 GB, free: 76.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008052/1.683, allocations: 35.95 kB / 1.217 GB, free: 76.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/1.683, allocations: 39.8 kB / 1.217 GB, free: 76.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.309e-05/1.683, allocations: 31.97 kB / 1.218 GB, free: 76.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.163e-05/1.684, allocations: 120.4 kB / 1.218 GB, free: 76.13 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002248/1.686, allocations: 499.6 kB / 1.218 GB, free: 75.64 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003723/1.69, allocations: 1.409 MB / 1.219 GB, free: 74.35 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009651/1.691, allocations: 0.5078 MB / 1.22 GB, free: 73.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.691, allocations: 4 kB / 1.22 GB, free: 73.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000557/1.691, allocations: 463.3 kB / 1.22 GB, free: 73.37 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/1.692, allocations: 90.44 kB / 1.221 GB, free: 73.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/1.693, allocations: 0.7091 MB / 1.221 GB, free: 72.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000715/1.694, allocations: 0.8921 MB / 1.222 GB, free: 71.62 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/1.694, allocations: 4 kB / 1.222 GB, free: 71.61 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_MixtureGases.fmu > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1)