Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 185.8 kB / 8.524 MB, free: 1.809 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.267/1.267, allocations: 221.4 MB / 230.3 MB, free: 7.645 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.0008961/0.0008961, allocations: 89.8 kB / 281.2 MB, free: 5.469 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.1616/0.1616, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1934/0.355, allocations: 68.04 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.4536, allocations: 61.91 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.258/5.712, allocations: 3.554 GB / 4.048 GB, free: 19.76 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/5.712, allocations: 103.3 kB / 4.049 GB, free: 19.66 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 1.204/6.916, allocations: 415.3 MB / 4.454 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/6.916, allocations: 9.25 kB / 4.454 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004437/6.916, allocations: 110.9 kB / 4.454 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/6.918, allocations: 0.6387 MB / 4.455 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/6.918, allocations: 93.41 kB / 4.455 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/6.918, allocations: 47.84 kB / 4.455 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001698/6.919, allocations: 1.054 MB / 4.456 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/6.921, allocations: 1.039 MB / 4.457 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/6.921, allocations: 7.938 kB / 4.457 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/6.921, allocations: 8 kB / 4.457 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.349e-05/6.921, allocations: 57.95 kB / 4.457 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006844/6.928, allocations: 5.049 MB / 4.462 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009686/6.929, allocations: 0.5073 MB / 4.462 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005374/6.93, allocations: 374.9 kB / 4.463 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009324/6.931, allocations: 1.124 MB / 4.464 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/6.931, allocations: 43.22 kB / 4.464 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=64): time 2.014e-06/6.931, allocations: 0 / 4.464 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76): time 0.01363/6.944, allocations: 3.689 MB / 4.468 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/6.945, allocations: 115.5 kB / 4.468 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006045/6.945, allocations: 486 kB / 4.468 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-05/6.945, allocations: 25.7 kB / 4.468 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/6.945, allocations: 354.9 kB / 4.469 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/6.946, allocations: 260.2 kB / 4.469 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/6.946, allocations: 0 / 4.469 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001324/6.946, allocations: 379.1 kB / 4.469 GB, free: 440 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1507/7.096, allocations: 445.5 kB / 4.47 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008794/7.097, allocations: 0.6923 MB / 4.47 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/7.099, allocations: 0.6696 MB / 4.471 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/7.099, allocations: 3.562 kB / 4.471 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002885/7.102, allocations: 1.597 MB / 4.472 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/7.102, allocations: 5.312 kB / 4.472 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/7.102, allocations: 7.656 kB / 4.472 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005308/7.107, allocations: 1.1 MB / 4.474 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/7.108, allocations: 156.7 kB / 4.474 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/7.11, allocations: 1.562 MB / 4.475 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/7.111, allocations: 72.94 kB / 4.475 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/7.111, allocations: 58.84 kB / 4.475 GB, free: 118.6 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.0002158/7.111, allocations: 128.9 kB / 4.475 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/7.112, allocations: 76.88 kB / 4.476 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003087/7.115, allocations: 1.615 MB / 4.477 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/7.115, allocations: 11.03 kB / 4.477 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/7.115, allocations: 2.656 kB / 4.477 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/7.115, allocations: 3.891 kB / 4.477 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003978/7.119, allocations: 2.784 MB / 4.48 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/7.119, allocations: 3.688 kB / 4.48 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/7.12, allocations: 239.2 kB / 4.48 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/7.121, allocations: 327.2 kB / 4.48 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.262e-05/7.122, allocations: 26.89 kB / 4.48 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/7.123, allocations: 2.167 MB / 4.483 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/7.123, allocations: 3.906 kB / 4.483 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003144/7.126, allocations: 2.088 MB / 4.485 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004129/7.13, allocations: 3.182 MB / 4.488 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/7.131, allocations: 285.9 kB / 4.488 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/7.131, allocations: 7.156 kB / 4.488 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008834/7.132, allocations: 66.38 kB / 4.488 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/7.132, allocations: 57.19 kB / 4.488 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-05/7.132, allocations: 46.66 kB / 4.488 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003566/7.132, allocations: 375.2 kB / 4.488 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003038/7.135, allocations: 0.9005 MB / 4.489 GB, free: 114.4 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.002469/7.138, allocations: 1.662 MB / 4.491 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00155/7.139, allocations: 1.092 MB / 4.492 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/7.139, allocations: 0 / 4.492 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001503/7.141, allocations: 0.6662 MB / 4.493 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/7.143, allocations: 337 kB / 4.493 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/7.146, allocations: 1.699 MB / 4.495 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007371/7.147, allocations: 1.168 MB / 4.496 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of SimCode: time 3.31e-07/7.147, allocations: 0 / 4.496 GB, free: 113.2 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1)