Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 179.8 kB / 8.517 MB, free: 1.848 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.187/1.187, allocations: 221.4 MB / 230.3 MB, free: 3.023 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.001001/0.001001, allocations: 99.78 kB / 281.2 MB, free: 1.211 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.278/0.278, allocations: 44.14 MB / 376.1 MB, free: 43.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1067/0.3848, allocations: 68.05 MB / 444.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.6236, allocations: 61.91 MB / 0.4942 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6792/1.303, allocations: 429.7 MB / 0.9138 GB, free: 192.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/1.303, allocations: 100.6 kB / 0.9139 GB, free: 192.8 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.2508/1.554, allocations: 136.3 MB / 1.047 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/1.554, allocations: 9.25 kB / 1.047 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003551/1.554, allocations: 98.98 kB / 1.047 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008866/1.555, allocations: 0.5443 MB / 1.048 GB, free: 65.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/1.555, allocations: 80.41 kB / 1.048 GB, free: 65.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.329e-05/1.555, allocations: 39.89 kB / 1.048 GB, free: 65.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007935/1.556, allocations: 0.5684 MB / 1.048 GB, free: 64.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008915/1.557, allocations: 0.7453 MB / 1.049 GB, free: 63.87 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/1.557, allocations: 3.984 kB / 1.049 GB, free: 63.87 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.564e-05/1.557, allocations: 4 kB / 1.049 GB, free: 63.86 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/1.557, allocations: 36.97 kB / 1.049 GB, free: 63.83 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003652/1.561, allocations: 3.825 MB / 1.053 GB, free: 59.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/1.561, allocations: 222.8 kB / 1.053 GB, free: 59.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/1.561, allocations: 169.3 kB / 1.053 GB, free: 59.35 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000274/1.562, allocations: 0.495 MB / 1.054 GB, free: 58.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/1.562, allocations: 38.84 kB / 1.054 GB, free: 58.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/1.562, allocations: 0 / 1.054 GB, free: 58.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.002847/1.565, allocations: 1.284 MB / 1.055 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/1.565, allocations: 132.5 kB / 1.055 GB, free: 57.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/1.565, allocations: 446 kB / 1.056 GB, free: 56.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/1.565, allocations: 33.64 kB / 1.056 GB, free: 56.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/1.565, allocations: 323 kB / 1.056 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/1.565, allocations: 138 kB / 1.056 GB, free: 56.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/1.565, allocations: 0 / 1.056 GB, free: 56.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.727e-05/1.565, allocations: 370.8 kB / 1.056 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/1.566, allocations: 193.5 kB / 1.057 GB, free: 55.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/1.566, allocations: 494.1 kB / 1.057 GB, free: 55.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/1.567, allocations: 320.5 kB / 1.057 GB, free: 54.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.567, allocations: 3.938 kB / 1.057 GB, free: 54.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001868/1.569, allocations: 0.8588 MB / 1.058 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/1.569, allocations: 4 kB / 1.058 GB, free: 53.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.569, allocations: 12 kB / 1.058 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/1.57, allocations: 240.6 kB / 1.058 GB, free: 53.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/1.57, allocations: 119.8 kB / 1.059 GB, free: 53.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008729/1.571, allocations: 0.9221 MB / 1.059 GB, free: 52.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/1.571, allocations: 31.97 kB / 1.059 GB, free: 52.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/1.571, allocations: 36 kB / 1.059 GB, free: 52.49 MB / 0.5261 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.0001209/1.572, allocations: 139.5 kB / 1.06 GB, free: 52.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.4e-05/1.572, allocations: 63.33 kB / 1.06 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/1.573, allocations: 0.6629 MB / 1.06 GB, free: 51.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/1.573, allocations: 7.984 kB / 1.06 GB, free: 51.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/1.573, allocations: 0 / 1.06 GB, free: 51.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.573, allocations: 7.906 kB / 1.06 GB, free: 51.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/1.575, allocations: 1.531 MB / 1.062 GB, free: 49.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.575, allocations: 4 kB / 1.062 GB, free: 49.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/1.576, allocations: 187.8 kB / 1.062 GB, free: 49.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.648e-05/1.576, allocations: 20.84 kB / 1.062 GB, free: 49.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/1.576, allocations: 16.14 kB / 1.062 GB, free: 49.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/1.577, allocations: 2.572 MB / 1.065 GB, free: 46.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.577, allocations: 0 / 1.065 GB, free: 46.89 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00121/1.578, allocations: 1.028 MB / 1.066 GB, free: 45.77 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001499/1.58, allocations: 1.654 MB / 1.067 GB, free: 44.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/1.58, allocations: 200.2 kB / 1.067 GB, free: 43.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.741e-05/1.58, allocations: 4 kB / 1.067 GB, free: 43.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/1.581, allocations: 20.05 kB / 1.067 GB, free: 43.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/1.581, allocations: 31.86 kB / 1.067 GB, free: 43.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/1.581, allocations: 23.98 kB / 1.067 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.000278/1.581, allocations: 330.9 kB / 1.068 GB, free: 43.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001393/1.583, allocations: 259.9 kB / 1.068 GB, free: 43.16 MB / 0.5261 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.0005872/1.583, allocations: 367.8 kB / 1.068 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007973/1.584, allocations: 0.5265 MB / 1.069 GB, free: 42.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.584, allocations: 4.062 kB / 1.069 GB, free: 42.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/1.585, allocations: 441.8 kB / 1.069 GB, free: 41.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/1.586, allocations: 258.3 kB / 1.07 GB, free: 41.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/1.588, allocations: 0.9669 MB / 1.07 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004902/1.588, allocations: 1.028 MB / 1.071 GB, free: 39.51 MB / 0.5261 GB Notification: Performance of SimCode: time 3.01e-07/1.588, allocations: 0 / 1.071 GB, free: 39.51 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1)