Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",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.001391/0.001391, allocations: 192 kB / 7.804 MB, free: 2.504 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.38/1.38, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009732/0.0009733, allocations: 96.33 kB / 261.4 MB, free: 13.61 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.2133/0.2133, allocations: 43.49 MB / 352.8 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2096/0.4229, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.7395, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8442/1.584, allocations: 428.9 MB / 0.8843 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/1.584, allocations: 91.95 kB / 0.8844 GB, free: 150.2 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.2793/1.863, allocations: 133.9 MB / 1.015 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.863, allocations: 11.94 kB / 1.015 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006207/1.864, allocations: 95.05 kB / 1.015 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/1.866, allocations: 0.5521 MB / 1.016 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/1.866, allocations: 80.41 kB / 1.016 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/1.866, allocations: 31.91 kB / 1.016 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001079/1.867, allocations: 0.5723 MB / 1.016 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/1.868, allocations: 0.7413 MB / 1.017 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/1.868, allocations: 0 / 1.017 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/1.868, allocations: 4 kB / 1.017 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.174e-05/1.868, allocations: 40.97 kB / 1.017 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004534/1.873, allocations: 3.829 MB / 1.021 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/1.873, allocations: 222.8 kB / 1.021 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/1.874, allocations: 169.4 kB / 1.021 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003335/1.874, allocations: 0.4911 MB / 1.022 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/1.874, allocations: 38.84 kB / 1.022 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.234e-06/1.874, allocations: 0 / 1.022 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.003416/1.877, allocations: 1.28 MB / 1.023 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/1.877, allocations: 132.5 kB / 1.023 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006044/1.878, allocations: 450 kB / 1.024 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.484e-05/1.878, allocations: 29.7 kB / 1.024 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/1.878, allocations: 331 kB / 1.024 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.602e-05/1.878, allocations: 130.1 kB / 1.024 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/1.878, allocations: 0 / 1.024 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.879, allocations: 370.8 kB / 1.024 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/1.879, allocations: 197.5 kB / 1.025 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/1.879, allocations: 482.3 kB / 1.025 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007014/1.88, allocations: 316.5 kB / 1.025 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/1.88, allocations: 4 kB / 1.025 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002115/1.882, allocations: 0.8587 MB / 1.026 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.882, allocations: 7.984 kB / 1.026 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/1.882, allocations: 12 kB / 1.026 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/1.883, allocations: 244.8 kB / 1.027 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/1.884, allocations: 123.8 kB / 1.027 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009847/1.885, allocations: 0.9263 MB / 1.028 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007117/1.885, allocations: 39.97 kB / 1.028 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.577e-05/1.885, allocations: 39.94 kB / 1.028 GB, free: 1.152 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0001998/1.886, allocations: 129.2 kB / 1.028 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/1.886, allocations: 59.34 kB / 1.028 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/1.887, allocations: 0.6705 MB / 1.028 GB, free: 272 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/1.887, allocations: 4 kB / 1.028 GB, free: 268 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/1.887, allocations: 7.906 kB / 1.028 GB, free: 260 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/1.887, allocations: 3.984 kB / 1.028 GB, free: 256 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2184/2.106, allocations: 1.53 MB / 1.03 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/2.106, allocations: 0 / 1.03 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/2.107, allocations: 196.3 kB / 1.03 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.577e-05/2.107, allocations: 24.12 kB / 1.03 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/2.107, allocations: 7.875 kB / 1.03 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/2.108, allocations: 2.576 MB / 1.033 GB, free: 163.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/2.108, allocations: 6.844 kB / 1.033 GB, free: 163.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001584/2.11, allocations: 1.014 MB / 1.034 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001793/2.112, allocations: 1.648 MB / 1.035 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003793/2.112, allocations: 196 kB / 1.036 GB, free: 162 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.411e-05/2.112, allocations: 3.688 kB / 1.036 GB, free: 162 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/2.113, allocations: 28.12 kB / 1.036 GB, free: 162 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/2.113, allocations: 27.5 kB / 1.036 GB, free: 162 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/2.113, allocations: 24.56 kB / 1.036 GB, free: 162 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003978/2.113, allocations: 327.7 kB / 1.036 GB, free: 161.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001565/2.115, allocations: 252.8 kB / 1.036 GB, free: 161.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (44): * Single equations (assignments): 40 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000838/2.116, allocations: 371.6 kB / 1.036 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00103/2.117, allocations: 0.5288 MB / 1.037 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/2.117, allocations: 0 / 1.037 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/2.118, allocations: 454.4 kB / 1.037 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/2.119, allocations: 255.5 kB / 1.038 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/2.121, allocations: 0.9644 MB / 1.039 GB, free: 161.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005954/2.122, allocations: 1.025 MB / 1.04 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/2.122, allocations: 0 / 1.04 GB, free: 160.7 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1)