Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") [: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.2+maint.om/package.mo): time 0.001055/0.001055, allocations: 190.3 kB / 8.132 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.09/1.09, allocations: 194.2 MB / 202.8 MB, free: 8.777 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001815/0.001815, allocations: 118.4 kB / 247.7 MB, free: 6.254 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.383e-06/7.423e-06, allocations: 4 kB / 297.6 MB, free: 8.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0704/0.07042, allocations: 44.48 MB / 342.1 MB, free: 11.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6705/0.7409, allocations: 433.1 MB / 0.757 GB, free: 56.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.7412, allocations: 87.94 kB / 0.7571 GB, free: 56.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.3986/1.14, allocations: 142.3 MB / 0.896 GB, free: 68.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.942e-05/1.14, allocations: 17.34 kB / 0.896 GB, free: 68.77 MB / 394.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.0007501/1.141, allocations: 0.5981 MB / 0.8966 GB, free: 68.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/1.141, allocations: 8.031 kB / 0.8966 GB, free: 68.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003139/1.141, allocations: 47.61 kB / 0.8967 GB, free: 68.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/1.141, allocations: 287 kB / 0.897 GB, free: 67.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/1.141, allocations: 8 kB / 0.897 GB, free: 67.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/1.141, allocations: 12 kB / 0.897 GB, free: 67.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003022/1.142, allocations: 173 kB / 0.8971 GB, free: 67.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/1.142, allocations: 277.9 kB / 0.8974 GB, free: 67.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/1.142, allocations: 0 / 0.8974 GB, free: 67.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/1.142, allocations: 4 kB / 0.8974 GB, free: 67.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.142, allocations: 4 kB / 0.8974 GB, free: 67.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/1.144, allocations: 1.575 MB / 0.8989 GB, free: 65.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/1.144, allocations: 108 kB / 0.899 GB, free: 65.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/1.144, allocations: 72.84 kB / 0.8991 GB, free: 65.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/1.144, allocations: 8.859 kB / 0.8991 GB, free: 65.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/1.144, allocations: 42.66 kB / 0.8992 GB, free: 65.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/1.144, allocations: 0 / 0.8992 GB, free: 65.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.004091/1.148, allocations: 0.9702 MB / 0.9001 GB, free: 64.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.748e-05/1.148, allocations: 59.31 kB / 0.9002 GB, free: 64.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/1.148, allocations: 199.9 kB / 0.9004 GB, free: 64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/1.148, allocations: 25.7 kB / 0.9004 GB, free: 63.97 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/1.148, allocations: 179.7 kB / 0.9006 GB, free: 63.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/1.148, allocations: 78.75 kB / 0.9006 GB, free: 63.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/1.148, allocations: 4 kB / 0.9006 GB, free: 63.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.144e-05/1.148, allocations: 338.8 kB / 0.901 GB, free: 63.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/1.149, allocations: 75.94 kB / 0.901 GB, free: 63.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/1.149, allocations: 168 kB / 0.9012 GB, free: 63.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/1.149, allocations: 116.4 kB / 0.9013 GB, free: 62.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.149, allocations: 4 kB / 0.9013 GB, free: 62.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000561/1.15, allocations: 347.2 kB / 0.9016 GB, free: 62.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.15, allocations: 13.5 kB / 0.9017 GB, free: 62.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.15, allocations: 416 / 0.9017 GB, free: 62.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002614/1.15, allocations: 69.62 kB / 0.9017 GB, free: 62.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/1.15, allocations: 87.89 kB / 0.9018 GB, free: 62.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/1.151, allocations: 1.804 MB / 0.9036 GB, free: 60.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/1.152, allocations: 20.08 kB / 0.9036 GB, free: 60.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-05/1.152, allocations: 43.94 kB / 0.9036 GB, free: 60.45 MB / 394.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 9.448e-05/1.152, allocations: 112.9 kB / 0.9037 GB, free: 60.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/1.152, allocations: 27.7 kB / 0.9038 GB, free: 60.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008797/1.153, allocations: 388.4 kB / 0.9041 GB, free: 59.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.153, allocations: 0 / 0.9041 GB, free: 59.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/1.153, allocations: 4 kB / 0.9041 GB, free: 59.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003754/1.153, allocations: 0.5396 MB / 0.9047 GB, free: 59.28 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008476/1.154, allocations: 0.6554 MB / 0.9053 GB, free: 58.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.154, allocations: 0 / 0.9053 GB, free: 58.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/1.154, allocations: 67.95 kB / 0.9054 GB, free: 58.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.698e-05/1.155, allocations: 28.84 kB / 0.9054 GB, free: 58.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/1.155, allocations: 7.984 kB / 0.9054 GB, free: 58.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005623/1.155, allocations: 1.228 MB / 0.9066 GB, free: 57.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.155, allocations: 0 / 0.9066 GB, free: 57.13 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005045/1.156, allocations: 469.2 kB / 0.907 GB, free: 56.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/1.156, allocations: 100.8 kB / 0.9071 GB, free: 56.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/1.156, allocations: 7.984 kB / 0.9072 GB, free: 56.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/1.156, allocations: 11.89 kB / 0.9072 GB, free: 56.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/1.156, allocations: 23.97 kB / 0.9072 GB, free: 56.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/1.156, allocations: 32.05 kB / 0.9072 GB, free: 56.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001139/1.156, allocations: 156.5 kB / 0.9074 GB, free: 56.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006591/1.157, allocations: 171.9 kB / 0.9075 GB, free: 56.12 MB / 394.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.001002/1.158, allocations: 0.9058 MB / 0.9084 GB, free: 55.31 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005147/1.159, allocations: 339.7 kB / 0.9087 GB, free: 54.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.159, allocations: 0.8125 kB / 0.9087 GB, free: 54.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/1.159, allocations: 221.5 kB / 0.909 GB, free: 54.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/1.159, allocations: 112.4 kB / 0.9091 GB, free: 54.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000858/1.16, allocations: 476.4 kB / 0.9095 GB, free: 54.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/1.161, allocations: 0.8736 MB / 0.9104 GB, free: 53.24 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/1.161, allocations: 0 / 0.9104 GB, free: 53.24 MB / 394.7 MB Notification: Performance of Templates: time 0.01699/1.178, allocations: 12.37 MB / 0.9224 GB, free: 40.9 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)