Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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) 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(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 183.7 kB / 8.48 MB, free: 1.789 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.23/1.23, allocations: 205.2 MB / 214.1 MB, free: 13.93 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.0009421/0.0009421, allocations: 84.52 kB / 262.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09845/0.09942, allocations: 52.98 MB / 315.1 MB, free: 8.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.3179, allocations: 47.55 MB / 362.6 MB, free: 45.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.124/1.442, allocations: 0.7372 GB / 1.091 GB, free: 50.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/1.442, allocations: 65.84 kB / 1.091 GB, free: 50.88 MB / 426.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.3708/1.813, allocations: 107.3 MB / 1.196 GB, free: 122.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/1.813, allocations: 8 kB / 1.196 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/1.815, allocations: 299.2 kB / 1.196 GB, free: 122.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/1.815, allocations: 290.6 kB / 1.197 GB, free: 122.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/1.815, allocations: 12 kB / 1.197 GB, free: 122.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.703e-05/1.816, allocations: 19.91 kB / 1.197 GB, free: 122.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008501/1.816, allocations: 0.6066 MB / 1.197 GB, free: 121.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007486/1.817, allocations: 0.5814 MB / 1.198 GB, free: 120.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/1.817, allocations: 3.906 kB / 1.198 GB, free: 120.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.045e-05/1.817, allocations: 0 / 1.198 GB, free: 120.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/1.817, allocations: 16.44 kB / 1.198 GB, free: 120.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/1.821, allocations: 1.764 MB / 1.2 GB, free: 119 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/1.821, allocations: 364.7 kB / 1.2 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/1.821, allocations: 173.7 kB / 1.2 GB, free: 118.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/1.823, allocations: 0.9116 MB / 1.201 GB, free: 117.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/1.823, allocations: 42.56 kB / 1.201 GB, free: 117.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 1.994e-06/1.823, allocations: 0 / 1.201 GB, free: 117.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.006734/1.829, allocations: 2.193 MB / 1.203 GB, free: 115 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/1.829, allocations: 85.09 kB / 1.203 GB, free: 114.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/1.829, allocations: 154.3 kB / 1.203 GB, free: 114.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/1.829, allocations: 25.7 kB / 1.203 GB, free: 114.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/1.83, allocations: 180 kB / 1.204 GB, free: 114.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.633e-05/1.83, allocations: 169.5 kB / 1.204 GB, free: 114.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/1.83, allocations: 0 / 1.204 GB, free: 114.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.087e-05/1.83, allocations: 342.8 kB / 1.204 GB, free: 114.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/1.83, allocations: 201.3 kB / 1.204 GB, free: 113.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/1.83, allocations: 352.9 kB / 1.205 GB, free: 113.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/1.831, allocations: 233.2 kB / 1.205 GB, free: 113.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.831, allocations: 4 kB / 1.205 GB, free: 113.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009725/1.832, allocations: 0.6292 MB / 1.205 GB, free: 112.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/1.832, allocations: 4 kB / 1.205 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.832, allocations: 8.031 kB / 1.205 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001407/1.832, allocations: 49.69 kB / 1.206 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/1.833, allocations: 183.7 kB / 1.206 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004204/1.833, allocations: 1.085 MB / 1.207 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/1.834, allocations: 44.05 kB / 1.207 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-05/1.834, allocations: 35.98 kB / 1.207 GB, free: 111.1 MB / 426.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.0001403/1.834, allocations: 120.8 kB / 1.207 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/1.834, allocations: 27.66 kB / 1.207 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/1.836, allocations: 0.6952 MB / 1.208 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.836, allocations: 8 kB / 1.208 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.836, allocations: 0 / 1.208 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.836, allocations: 0 / 1.208 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/1.838, allocations: 1.35 MB / 1.209 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.838, allocations: 8 kB / 1.209 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/1.839, allocations: 155.9 kB / 1.209 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.73e-05/1.839, allocations: 33.7 kB / 1.209 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/1.839, allocations: 23.97 kB / 1.209 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009914/1.84, allocations: 2.413 MB / 1.212 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.84, allocations: 4.031 kB / 1.212 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001128/1.841, allocations: 0.9947 MB / 1.213 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001523/1.843, allocations: 1.613 MB / 1.214 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/1.843, allocations: 100.8 kB / 1.214 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/1.843, allocations: 8 kB / 1.214 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007601/1.844, allocations: 31.95 kB / 1.214 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/1.844, allocations: 31.86 kB / 1.214 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-05/1.844, allocations: 35.97 kB / 1.214 GB, free: 102.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.47e-05/1.844, allocations: 127.2 kB / 1.214 GB, free: 102.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002162/1.846, allocations: 491.6 kB / 1.215 GB, free: 102.3 MB / 426.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.003289/1.85, allocations: 1.393 MB / 1.216 GB, free: 101.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000861/1.85, allocations: 0.519 MB / 1.217 GB, free: 100.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.85, allocations: 4 kB / 1.217 GB, free: 100.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005006/1.851, allocations: 456 kB / 1.217 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000529/1.851, allocations: 79.83 kB / 1.217 GB, free: 99.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/1.853, allocations: 0.7131 MB / 1.218 GB, free: 99.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006371/1.853, allocations: 0.8844 MB / 1.219 GB, free: 98.32 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/1.853, allocations: 0 / 1.219 GB, free: 98.32 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_MixtureGases.fmu > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1)