Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 186.3 kB / 7.804 MB, free: 2.438 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.43/1.43, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 95.59 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2168/0.2168, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2301/0.447, allocations: 64.98 MB / 417.8 MB, free: 40.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.8001, allocations: 58.83 MB / 476.7 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.723/8.524, allocations: 3.613 GB / 4.079 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/8.524, allocations: 87.94 kB / 4.079 GB, free: 28.22 MB / 0.4948 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.782/10.31, allocations: 435.1 MB / 4.504 GB, free: 53.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/10.31, allocations: 7.875 kB / 4.504 GB, free: 53.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/10.31, allocations: 111.9 kB / 4.504 GB, free: 53.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/10.31, allocations: 0.6315 MB / 4.505 GB, free: 53.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/10.31, allocations: 95 kB / 4.505 GB, free: 53.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/10.31, allocations: 40.7 kB / 4.505 GB, free: 53.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001956/10.31, allocations: 1.064 MB / 4.506 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/10.31, allocations: 1.049 MB / 4.507 GB, free: 53.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/10.31, allocations: 1.031 kB / 4.507 GB, free: 53.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/10.31, allocations: 3.094 kB / 4.507 GB, free: 53.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.885e-05/10.31, allocations: 60.55 kB / 4.507 GB, free: 53.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006782/10.32, allocations: 5.059 MB / 4.512 GB, free: 50.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008742/10.32, allocations: 0.5163 MB / 4.512 GB, free: 50.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004818/10.32, allocations: 363.4 kB / 4.513 GB, free: 50.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007562/10.32, allocations: 1.066 MB / 4.514 GB, free: 49.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/10.32, allocations: 44.72 kB / 4.514 GB, free: 49.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=64): time 3.006e-06/10.32, allocations: 0 / 4.514 GB, free: 49.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.01407/10.34, allocations: 3.797 MB / 4.518 GB, free: 48.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/10.34, allocations: 109.7 kB / 4.518 GB, free: 48.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000678/10.34, allocations: 484.9 kB / 4.518 GB, free: 48.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/10.34, allocations: 25.7 kB / 4.518 GB, free: 48.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/10.34, allocations: 350.4 kB / 4.518 GB, free: 48.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/10.34, allocations: 263.9 kB / 4.519 GB, free: 48.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.33e-05/10.34, allocations: 3.281 kB / 4.519 GB, free: 48.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001027/10.34, allocations: 381 kB / 4.519 GB, free: 47.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006842/10.34, allocations: 435.6 kB / 4.519 GB, free: 47.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007957/10.34, allocations: 0.6957 MB / 4.52 GB, free: 47.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/10.34, allocations: 0.7031 MB / 4.521 GB, free: 47.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/10.34, allocations: 0 / 4.521 GB, free: 47.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003427/10.34, allocations: 1.638 MB / 4.522 GB, free: 47.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/10.34, allocations: 7.344 kB / 4.522 GB, free: 47.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/10.35, allocations: 10.56 kB / 4.522 GB, free: 47.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005319/10.35, allocations: 1.097 MB / 4.524 GB, free: 47.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006972/10.35, allocations: 157.4 kB / 4.524 GB, free: 47.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/10.35, allocations: 1.568 MB / 4.525 GB, free: 47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/10.35, allocations: 82.61 kB / 4.525 GB, free: 46.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/10.35, allocations: 58 kB / 4.525 GB, free: 46.99 MB / 0.4948 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.0003081/10.36, allocations: 134.9 kB / 4.525 GB, free: 46.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/10.36, allocations: 75.22 kB / 4.526 GB, free: 46.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/10.36, allocations: 1.579 MB / 4.527 GB, free: 46.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/10.36, allocations: 7.406 kB / 4.527 GB, free: 46.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/10.36, allocations: 6.781 kB / 4.527 GB, free: 46.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/10.36, allocations: 3.797 kB / 4.527 GB, free: 46.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00515/10.36, allocations: 2.834 MB / 4.53 GB, free: 46.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/10.36, allocations: 3.688 kB / 4.53 GB, free: 46.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/10.37, allocations: 242.7 kB / 4.53 GB, free: 46.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/10.37, allocations: 316.5 kB / 4.53 GB, free: 46.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.895e-05/10.37, allocations: 23.72 kB / 4.53 GB, free: 46.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/10.37, allocations: 2.171 MB / 4.533 GB, free: 44.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/10.37, allocations: 13.42 kB / 4.533 GB, free: 44.28 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003991/10.37, allocations: 2.147 MB / 4.535 GB, free: 43.8 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005125/10.38, allocations: 3.246 MB / 4.538 GB, free: 42.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008007/10.38, allocations: 277.1 kB / 4.538 GB, free: 42.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003097/10.38, allocations: 18.84 kB / 4.538 GB, free: 42.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/10.38, allocations: 57.67 kB / 4.538 GB, free: 42.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/10.38, allocations: 58.36 kB / 4.538 GB, free: 42.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/10.38, allocations: 49.67 kB / 4.538 GB, free: 42.81 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005357/10.38, allocations: 373 kB / 4.539 GB, free: 42.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004333/10.39, allocations: 0.9615 MB / 4.54 GB, free: 42.62 MB / 0.4948 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.004686/10.39, allocations: 1.8 MB / 4.541 GB, free: 42.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002422/10.39, allocations: 1.098 MB / 4.542 GB, free: 42.31 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/10.39, allocations: 0 / 4.542 GB, free: 42.31 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00174/10.39, allocations: 0.6779 MB / 4.543 GB, free: 42.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/10.4, allocations: 345.4 kB / 4.543 GB, free: 42.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/10.4, allocations: 1.687 MB / 4.545 GB, free: 41.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/10.4, allocations: 1.176 MB / 4.546 GB, free: 41.2 MB / 0.4948 GB Notification: Performance of SimCode: time 6.42e-07/10.4, allocations: 3.609 kB / 4.546 GB, free: 41.2 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1)