Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",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 trunk/package.mo): time 0.001568/0.001569, allocations: 199.7 kB / 8.538 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 225.5 MB / 234.4 MB, free: 3.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008611/0.0008613, allocations: 89.81 kB / 286.3 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1746/0.1746, allocations: 45.14 MB / 383.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2074/0.3821, allocations: 69.39 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0943/0.4764, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.933/1.409, allocations: 0.522 GB / 1.026 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/1.41, allocations: 99.77 kB / 1.026 GB, free: 143.3 MB / 0.5261 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.5677/1.977, allocations: 206.8 MB / 1.228 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/1.977, allocations: 7.781 kB / 1.228 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008595/1.978, allocations: 140.9 kB / 1.228 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009016/1.979, allocations: 0.5338 MB / 1.229 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.319e-05/1.979, allocations: 90.28 kB / 1.229 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.24e-05/1.979, allocations: 34.22 kB / 1.229 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008106/1.98, allocations: 0.5384 MB / 1.229 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008894/1.981, allocations: 0.7369 MB / 1.23 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/1.981, allocations: 7.562 kB / 1.23 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.891e-05/1.981, allocations: 0 / 1.23 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.756e-05/1.981, allocations: 40.86 kB / 1.23 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00364/1.985, allocations: 4.123 MB / 1.234 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/1.985, allocations: 195.7 kB / 1.234 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/1.985, allocations: 135.6 kB / 1.234 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.049e-05/1.985, allocations: 94.06 kB / 1.234 GB, free: 114 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/1.985, allocations: 44.83 kB / 1.234 GB, free: 114 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 1.803e-06/1.985, allocations: 0 / 1.234 GB, free: 114 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.004893/1.99, allocations: 1.387 MB / 1.236 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/1.99, allocations: 139.5 kB / 1.236 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/1.991, allocations: 466.3 kB / 1.236 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/1.991, allocations: 28.58 kB / 1.236 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/1.991, allocations: 336.6 kB / 1.237 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.354e-05/1.991, allocations: 128 kB / 1.237 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/1.991, allocations: 0 / 1.237 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.769e-05/1.991, allocations: 366.3 kB / 1.237 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/1.991, allocations: 178.4 kB / 1.237 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/1.992, allocations: 499.3 kB / 1.238 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/1.992, allocations: 319.8 kB / 1.238 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/1.992, allocations: 3.281 kB / 1.238 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00129/1.994, allocations: 0.8032 MB / 1.239 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/1.994, allocations: 3.562 kB / 1.239 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.994, allocations: 11.59 kB / 1.239 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/1.995, allocations: 279.8 kB / 1.239 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/1.995, allocations: 124.9 kB / 1.239 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009667/1.996, allocations: 0.9653 MB / 1.24 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/1.997, allocations: 29.81 kB / 1.24 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/1.997, allocations: 71.09 kB / 1.24 GB, free: 110.5 MB / 0.5261 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.0001385/1.997, allocations: 132.5 kB / 1.241 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.955e-05/1.997, allocations: 62.47 kB / 1.241 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/1.999, allocations: 0.7342 MB / 1.241 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/1.999, allocations: 3.406 kB / 1.241 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/1.999, allocations: 8.047 kB / 1.241 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.999, allocations: 0.5312 kB / 1.241 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/2, allocations: 0.9957 MB / 1.242 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/2, allocations: 3.969 kB / 1.242 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/2.002, allocations: 183 kB / 1.242 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.467e-05/2.002, allocations: 25.58 kB / 1.242 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/2.002, allocations: 12.03 kB / 1.243 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/2.003, allocations: 2.573 MB / 1.245 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/2.003, allocations: 8.406 kB / 1.245 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009535/2.004, allocations: 0.6895 MB / 1.246 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00136/2.005, allocations: 1.312 MB / 1.247 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/2.006, allocations: 179.1 kB / 1.247 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/2.006, allocations: 7.781 kB / 1.247 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/2.006, allocations: 20.64 kB / 1.247 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/2.006, allocations: 28.45 kB / 1.247 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.083e-05/2.006, allocations: 34.39 kB / 1.247 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003232/2.007, allocations: 343.7 kB / 1.248 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0018/2.008, allocations: 391.7 kB / 1.248 GB, free: 105.3 MB / 0.5261 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.001487/2.01, allocations: 1.097 MB / 1.249 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009018/2.011, allocations: 496.7 kB / 1.249 GB, free: 105 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/2.011, allocations: 0 / 1.249 GB, free: 105 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/2.012, allocations: 405.6 kB / 1.25 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/2.013, allocations: 232.9 kB / 1.25 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/2.015, allocations: 0.8919 MB / 1.251 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009032/2.016, allocations: 1.087 MB / 1.252 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of SimCode: time 4.21e-07/2.016, allocations: 0 / 1.252 GB, free: 103.7 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1)