Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",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.001255/0.001255, allocations: 179.1 kB / 8.477 MB, free: 1.883 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.223/1.223, allocations: 205.2 MB / 214.1 MB, free: 5.098 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008944/0.0008944, allocations: 97.89 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.202/0.203, allocations: 52.98 MB / 315.1 MB, free: 41.39 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07962/0.2826, allocations: 47.58 MB / 362.7 MB, free: 9.848 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8946/1.177, allocations: 0.5385 GB / 0.8927 GB, free: 24.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/1.178, allocations: 98.14 kB / 0.8928 GB, free: 24.16 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.4444/1.622, allocations: 146.1 MB / 1.035 GB, free: 53.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.622, allocations: 12 kB / 1.035 GB, free: 53.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/1.623, allocations: 51.61 kB / 1.036 GB, free: 53.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/1.623, allocations: 274.5 kB / 1.036 GB, free: 53.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/1.623, allocations: 11.94 kB / 1.036 GB, free: 53.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/1.623, allocations: 19.94 kB / 1.036 GB, free: 53.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003207/1.623, allocations: 176.9 kB / 1.036 GB, free: 52.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/1.624, allocations: 273.9 kB / 1.036 GB, free: 52.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/1.624, allocations: 0 / 1.036 GB, free: 52.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/1.624, allocations: 0 / 1.036 GB, free: 52.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/1.624, allocations: 8 kB / 1.036 GB, free: 52.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/1.625, allocations: 1.57 MB / 1.038 GB, free: 50.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/1.625, allocations: 109.7 kB / 1.038 GB, free: 50.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/1.626, allocations: 72.86 kB / 1.038 GB, free: 50.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/1.626, allocations: 8 kB / 1.038 GB, free: 50.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/1.626, allocations: 38.55 kB / 1.038 GB, free: 50.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.114e-06/1.626, allocations: 0 / 1.038 GB, free: 50.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.004094/1.63, allocations: 0.9834 MB / 1.039 GB, free: 49.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/1.63, allocations: 51.41 kB / 1.039 GB, free: 49.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/1.63, allocations: 199.9 kB / 1.039 GB, free: 49.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/1.63, allocations: 29.64 kB / 1.039 GB, free: 49.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/1.63, allocations: 171.8 kB / 1.039 GB, free: 49.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/1.63, allocations: 82.75 kB / 1.039 GB, free: 49.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/1.63, allocations: 0 / 1.039 GB, free: 49.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.76e-05/1.63, allocations: 342.7 kB / 1.04 GB, free: 48.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/1.63, allocations: 79.98 kB / 1.04 GB, free: 48.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/1.631, allocations: 175.7 kB / 1.04 GB, free: 48.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/1.631, allocations: 108 kB / 1.04 GB, free: 48.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.631, allocations: 8 kB / 1.04 GB, free: 48.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005484/1.631, allocations: 346.8 kB / 1.04 GB, free: 47.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.631, allocations: 4 kB / 1.04 GB, free: 47.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.631, allocations: 8.391 kB / 1.04 GB, free: 47.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/1.632, allocations: 65.69 kB / 1.041 GB, free: 47.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/1.632, allocations: 83.84 kB / 1.041 GB, free: 47.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/1.633, allocations: 1.804 MB / 1.042 GB, free: 45.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/1.633, allocations: 28 kB / 1.042 GB, free: 45.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/1.633, allocations: 39.98 kB / 1.042 GB, free: 45.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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.0001089/1.633, allocations: 116.9 kB / 1.043 GB, free: 45.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/1.633, allocations: 23.72 kB / 1.043 GB, free: 45.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008656/1.634, allocations: 396.5 kB / 1.043 GB, free: 45.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.634, allocations: 4 kB / 1.043 GB, free: 45.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.634, allocations: 0 / 1.043 GB, free: 45.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003876/1.635, allocations: 0.5396 MB / 1.043 GB, free: 44.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008773/1.636, allocations: 0.6536 MB / 1.044 GB, free: 43.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.636, allocations: 4 kB / 1.044 GB, free: 43.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/1.636, allocations: 71.89 kB / 1.044 GB, free: 43.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.33e-05/1.636, allocations: 24.83 kB / 1.044 GB, free: 43.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/1.636, allocations: 8 kB / 1.044 GB, free: 43.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006002/1.637, allocations: 1.225 MB / 1.045 GB, free: 42.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.637, allocations: 4.031 kB / 1.045 GB, free: 42.44 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000528/1.637, allocations: 477.6 kB / 1.046 GB, free: 41.94 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008657/1.638, allocations: 0.9669 MB / 1.047 GB, free: 40.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/1.638, allocations: 100.8 kB / 1.047 GB, free: 40.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/1.638, allocations: 0 / 1.047 GB, free: 40.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/1.639, allocations: 16.05 kB / 1.047 GB, free: 40.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/1.639, allocations: 27.91 kB / 1.047 GB, free: 40.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/1.639, allocations: 27.98 kB / 1.047 GB, free: 40.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001334/1.639, allocations: 156.5 kB / 1.047 GB, free: 40.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001514/1.64, allocations: 231.8 kB / 1.047 GB, free: 40.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/1.642, allocations: 0.9218 MB / 1.048 GB, free: 39.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007033/1.642, allocations: 334 kB / 1.049 GB, free: 39.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.642, allocations: 0.8125 kB / 1.049 GB, free: 39.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002329/1.643, allocations: 217.8 kB / 1.049 GB, free: 38.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007767/1.643, allocations: 104.3 kB / 1.049 GB, free: 38.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/1.644, allocations: 483 kB / 1.049 GB, free: 38.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005579/1.645, allocations: 0.8729 MB / 1.05 GB, free: 37.36 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/1.645, allocations: 0 / 1.05 GB, free: 37.36 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)