Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",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.001056/0.001056, allocations: 204.2 kB / 8.54 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.243/1.243, allocations: 225.5 MB / 234.4 MB, free: 3.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008838/0.0008837, allocations: 94.27 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1827/0.1827, allocations: 45.15 MB / 383.4 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2013/0.384, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0855/0.4695, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.965/5.435, allocations: 3.548 GB / 4.052 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/5.435, allocations: 92.44 kB / 4.052 GB, free: 9.48 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 1.174/6.609, allocations: 410.8 MB / 4.453 GB, free: 17.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/6.609, allocations: 8 kB / 4.453 GB, free: 17.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005408/6.61, allocations: 110.9 kB / 4.453 GB, free: 17.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/6.611, allocations: 0.6194 MB / 4.454 GB, free: 17.06 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-05/6.611, allocations: 93.39 kB / 4.454 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/6.611, allocations: 47.91 kB / 4.454 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001586/6.613, allocations: 1.054 MB / 4.455 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/6.614, allocations: 1.043 MB / 4.456 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/6.614, allocations: 3.984 kB / 4.456 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/6.614, allocations: 4 kB / 4.456 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-05/6.615, allocations: 57.91 kB / 4.456 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00576/6.62, allocations: 5.049 MB / 4.461 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008144/6.621, allocations: 0.5112 MB / 4.461 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004281/6.622, allocations: 363.1 kB / 4.462 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006645/6.622, allocations: 1.132 MB / 4.463 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/6.622, allocations: 43.22 kB / 4.463 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=64): time 3.677e-06/6.622, allocations: 0 / 4.463 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76): time 0.01259/6.635, allocations: 3.694 MB / 4.466 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/6.635, allocations: 111.5 kB / 4.466 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/6.635, allocations: 486 kB / 4.467 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-05/6.636, allocations: 25.7 kB / 4.467 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/6.636, allocations: 346.9 kB / 4.467 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/6.636, allocations: 268.1 kB / 4.468 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/6.636, allocations: 0 / 4.468 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.842e-05/6.636, allocations: 378.8 kB / 4.468 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005716/6.637, allocations: 437.8 kB / 4.468 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000654/6.637, allocations: 0.6921 MB / 4.469 GB, free: 376 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1511/6.788, allocations: 0.6734 MB / 4.47 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/6.788, allocations: 2.781 kB / 4.47 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003128/6.792, allocations: 1.598 MB / 4.471 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/6.792, allocations: 4.656 kB / 4.471 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/6.792, allocations: 9.156 kB / 4.471 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005547/6.797, allocations: 1.091 MB / 4.472 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/6.798, allocations: 157.3 kB / 4.472 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/6.8, allocations: 1.557 MB / 4.474 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/6.801, allocations: 80.05 kB / 4.474 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/6.801, allocations: 54.44 kB / 4.474 GB, free: 114.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0002197/6.801, allocations: 133.7 kB / 4.474 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/6.801, allocations: 72.47 kB / 4.474 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/6.805, allocations: 1.624 MB / 4.476 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/6.805, allocations: 7.562 kB / 4.476 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/6.805, allocations: 0 / 4.476 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/6.805, allocations: 10.2 kB / 4.476 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004201/6.809, allocations: 2.779 MB / 4.479 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/6.809, allocations: 1.781 kB / 4.479 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/6.81, allocations: 247.8 kB / 4.479 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/6.812, allocations: 316.9 kB / 4.479 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.051e-05/6.812, allocations: 23.75 kB / 4.479 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/6.813, allocations: 2.164 MB / 4.481 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/6.813, allocations: 9.25 kB / 4.481 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003245/6.816, allocations: 2.087 MB / 4.483 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004181/6.821, allocations: 3.188 MB / 4.486 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/6.821, allocations: 283.4 kB / 4.487 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/6.821, allocations: 9.531 kB / 4.487 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008952/6.822, allocations: 64.25 kB / 4.487 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/6.822, allocations: 50.42 kB / 4.487 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/6.822, allocations: 48.66 kB / 4.487 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003669/6.823, allocations: 375.4 kB / 4.487 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003001/6.826, allocations: 0.9398 MB / 4.488 GB, free: 110.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002517/6.828, allocations: 1.677 MB / 4.49 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001571/6.83, allocations: 1.099 MB / 4.491 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/6.83, allocations: 0 / 4.491 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/6.831, allocations: 0.6727 MB / 4.492 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/6.833, allocations: 345.4 kB / 4.492 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/6.837, allocations: 1.684 MB / 4.494 GB, free: 110 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006997/6.837, allocations: 1.17 MB / 4.495 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of SimCode: time 3.11e-07/6.837, allocations: 0 / 4.495 GB, free: 109.3 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1)