Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [: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 4.0.0+maint.om/package.mo): time 0.001292/0.001293, allocations: 182.4 kB / 8.516 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 221.4 MB / 230.3 MB, free: 7.625 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 90.42 kB / 281.2 MB, free: 5.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2012/0.2012, allocations: 44.15 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.624e-06/7.634e-06, allocations: 224 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1542, allocations: 61.91 MB / 0.4941 GB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.413/1.567, allocations: 0.521 GB / 1.015 GB, free: 85.12 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/1.567, allocations: 87.94 kB / 1.015 GB, free: 85.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.7432/2.31, allocations: 205 MB / 1.215 GB, free: 79.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.041e-05/2.311, allocations: 23.84 kB / 1.215 GB, free: 79.27 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002814/2.313, allocations: 1.034 MB / 1.216 GB, free: 78.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/2.313, allocations: 8.031 kB / 1.216 GB, free: 78.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009927/2.314, allocations: 139 kB / 1.216 GB, free: 78.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/2.316, allocations: 0.54 MB / 1.217 GB, free: 77.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/2.316, allocations: 88.41 kB / 1.217 GB, free: 77.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.775e-05/2.316, allocations: 31.91 kB / 1.217 GB, free: 77.35 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000888/2.317, allocations: 0.5449 MB / 1.218 GB, free: 76.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009815/2.318, allocations: 0.743 MB / 1.218 GB, free: 75.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/2.318, allocations: 7.922 kB / 1.218 GB, free: 75.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/2.318, allocations: 4 kB / 1.218 GB, free: 75.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.665e-05/2.318, allocations: 44.97 kB / 1.218 GB, free: 75.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004307/2.322, allocations: 4.081 MB / 1.222 GB, free: 71.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/2.323, allocations: 206.3 kB / 1.223 GB, free: 71.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/2.323, allocations: 137.3 kB / 1.223 GB, free: 71.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.993e-05/2.323, allocations: 93.23 kB / 1.223 GB, free: 71.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/2.323, allocations: 38.73 kB / 1.223 GB, free: 71.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 4.498e-06/2.323, allocations: 4 kB / 1.223 GB, free: 71.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.005604/2.328, allocations: 1.375 MB / 1.224 GB, free: 69.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/2.329, allocations: 132.5 kB / 1.224 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006456/2.329, allocations: 466.1 kB / 1.225 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/2.329, allocations: 25.7 kB / 1.225 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/2.33, allocations: 338.8 kB / 1.225 GB, free: 68.69 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.943e-05/2.33, allocations: 118.3 kB / 1.225 GB, free: 68.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/2.33, allocations: 0 / 1.225 GB, free: 68.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001261/2.33, allocations: 366.8 kB / 1.226 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/2.33, allocations: 185.5 kB / 1.226 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/2.33, allocations: 0.4893 MB / 1.226 GB, free: 67.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/2.331, allocations: 315.5 kB / 1.227 GB, free: 67.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/2.331, allocations: 0 / 1.227 GB, free: 67.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001297/2.332, allocations: 0.8068 MB / 1.227 GB, free: 66.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/2.332, allocations: 4 kB / 1.227 GB, free: 66.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/2.332, allocations: 15.98 kB / 1.227 GB, free: 66.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/2.334, allocations: 279.6 kB / 1.228 GB, free: 65.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/2.334, allocations: 123.8 kB / 1.228 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/2.335, allocations: 0.9663 MB / 1.229 GB, free: 64.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006811/2.336, allocations: 35.97 kB / 1.229 GB, free: 64.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.916e-05/2.336, allocations: 67.98 kB / 1.229 GB, free: 64.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.000196/2.336, allocations: 136.6 kB / 1.229 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/2.336, allocations: 55.34 kB / 1.229 GB, free: 64.56 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/2.338, allocations: 0.7439 MB / 1.23 GB, free: 63.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/2.338, allocations: 4 kB / 1.23 GB, free: 63.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/2.338, allocations: 0 / 1.23 GB, free: 63.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/2.338, allocations: 0 / 1.23 GB, free: 63.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/2.34, allocations: 0.9998 MB / 1.231 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/2.34, allocations: 4 kB / 1.231 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/2.341, allocations: 183.8 kB / 1.231 GB, free: 62.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.465e-05/2.341, allocations: 24.88 kB / 1.231 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.384e-05/2.341, allocations: 15.98 kB / 1.231 GB, free: 62.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/2.343, allocations: 2.58 MB / 1.233 GB, free: 59.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/2.343, allocations: 0 / 1.233 GB, free: 59.72 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008879/2.343, allocations: 0.701 MB / 1.234 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/2.344, allocations: 180.5 kB / 1.234 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/2.344, allocations: 0 / 1.234 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/2.344, allocations: 23.88 kB / 1.234 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/2.344, allocations: 27.97 kB / 1.234 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/2.344, allocations: 35.98 kB / 1.234 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0004383/2.345, allocations: 342.9 kB / 1.235 GB, free: 58.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001649/2.347, allocations: 295.9 kB / 1.235 GB, free: 58.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.002068/2.349, allocations: 1.084 MB / 1.236 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001073/2.35, allocations: 495.8 kB / 1.237 GB, free: 56.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/2.35, allocations: 0 / 1.237 GB, free: 56.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/2.351, allocations: 410.2 kB / 1.237 GB, free: 56.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/2.352, allocations: 233.8 kB / 1.237 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/2.354, allocations: 0.8864 MB / 1.238 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008531/2.355, allocations: 1.085 MB / 1.239 GB, free: 53.98 MB / 0.5105 GB Notification: Performance of SimCode: time 1.202e-06/2.355, allocations: 0 / 1.239 GB, free: 53.98 MB / 0.5105 GB Notification: Performance of Templates: time 0.03076/2.386, allocations: 18.89 MB / 1.257 GB, free: 35.21 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1)