Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",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.001305/0.001305, allocations: 185.5 kB / 7.806 MB, free: 2.488 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.557/1.557, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.001088/0.001088, allocations: 96.19 kB / 261.4 MB, free: 13.55 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.2334/0.2334, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2734/0.5068, allocations: 64.95 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.9215, allocations: 58.84 MB / 476.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.596/2.518, allocations: 0.7381 GB / 1.204 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/2.518, allocations: 67.97 kB / 1.204 GB, free: 14.26 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.3565/2.874, allocations: 39.49 MB / 1.242 GB, free: 172.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/2.874, allocations: 8.438 kB / 1.242 GB, free: 172.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/2.878, allocations: 431.3 kB / 1.243 GB, free: 172.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/2.879, allocations: 262.3 kB / 1.243 GB, free: 172.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/2.879, allocations: 8.828 kB / 1.243 GB, free: 172.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/2.879, allocations: 17.27 kB / 1.243 GB, free: 172.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001159/2.88, allocations: 478.5 kB / 1.243 GB, free: 172.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006179/2.881, allocations: 316.6 kB / 1.244 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/2.881, allocations: 4 kB / 1.244 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/2.881, allocations: 4.875 kB / 1.244 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/2.881, allocations: 4.375 kB / 1.244 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/2.883, allocations: 0.9597 MB / 1.245 GB, free: 171.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/2.884, allocations: 222.9 kB / 1.245 GB, free: 171.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/2.884, allocations: 135.8 kB / 1.245 GB, free: 171.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/2.885, allocations: 0.6527 MB / 1.246 GB, free: 170.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/2.885, allocations: 38.41 kB / 1.246 GB, free: 170.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/2.885, allocations: 3.938 kB / 1.246 GB, free: 170.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29): time 0.0007764/2.886, allocations: 268.2 kB / 1.246 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/2.886, allocations: 80.11 kB / 1.246 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/2.886, allocations: 104.9 kB / 1.246 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/2.886, allocations: 30.64 kB / 1.246 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/2.886, allocations: 109.2 kB / 1.246 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/2.887, allocations: 104.5 kB / 1.246 GB, free: 170 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/2.887, allocations: 0 / 1.246 GB, free: 170 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.043e-05/2.887, allocations: 327 kB / 1.247 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/2.887, allocations: 99.34 kB / 1.247 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/2.887, allocations: 183.9 kB / 1.247 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/2.887, allocations: 129.2 kB / 1.247 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/2.887, allocations: 0 / 1.247 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007526/2.888, allocations: 331.6 kB / 1.247 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/2.888, allocations: 4.688 kB / 1.247 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/2.888, allocations: 4.578 kB / 1.247 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/2.888, allocations: 8.531 kB / 1.247 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/2.889, allocations: 75.3 kB / 1.247 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/2.889, allocations: 8.969 kB / 1.247 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/2.889, allocations: 25.33 kB / 1.247 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/2.889, allocations: 15.47 kB / 1.247 GB, free: 169.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001266/2.889, allocations: 116.1 kB / 1.248 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/2.889, allocations: 20.84 kB / 1.248 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008729/2.89, allocations: 349.6 kB / 1.248 GB, free: 169 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/2.89, allocations: 16.52 kB / 1.248 GB, free: 169 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/2.89, allocations: 0 / 1.248 GB, free: 169 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/2.89, allocations: 6.609 kB / 1.248 GB, free: 169 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006005/2.891, allocations: 307.7 kB / 1.248 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/2.891, allocations: 0 / 1.248 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004092/2.891, allocations: 61.53 kB / 1.248 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/2.891, allocations: 5.375 kB / 1.248 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/2.891, allocations: 6.953 kB / 1.248 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/2.892, allocations: 6.266 kB / 1.248 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/2.892, allocations: 0.9688 kB / 1.248 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008649/2.892, allocations: 0.5253 MB / 1.249 GB, free: 168.4 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00114/2.894, allocations: 1.032 MB / 1.25 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/2.894, allocations: 93.59 kB / 1.25 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/2.894, allocations: 4.859 kB / 1.25 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/2.894, allocations: 16.41 kB / 1.25 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/2.894, allocations: 21.72 kB / 1.25 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/2.894, allocations: 17.17 kB / 1.25 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.806e-05/2.894, allocations: 88.5 kB / 1.25 GB, free: 167.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00218/2.896, allocations: 320.2 kB / 1.25 GB, free: 167.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.00262/2.899, allocations: 0.8565 MB / 1.251 GB, free: 167 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005858/2.9, allocations: 261 kB / 1.251 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/2.9, allocations: 1.625 kB / 1.251 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/2.9, allocations: 130.4 kB / 1.252 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/2.901, allocations: 80.66 kB / 1.252 GB, free: 166.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/2.902, allocations: 0.5809 MB / 1.252 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005101/2.902, allocations: 0.7908 MB / 1.253 GB, free: 165.7 MB / 0.4948 GB Notification: Performance of SimCode: time 3.01e-07/2.902, allocations: 0 / 1.253 GB, free: 165.7 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1)