Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001114/0.001114, allocations: 202.3 kB / 8.541 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.191/1.191, allocations: 225.5 MB / 234.4 MB, free: 3.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009276/0.0009276, allocations: 92.98 kB / 286.3 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1682/0.1682, allocations: 45.14 MB / 383.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.207/0.3753, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.4646, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7058/1.17, allocations: 430.8 MB / 0.9245 GB, free: 24.25 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/1.171, allocations: 95.64 kB / 0.9246 GB, free: 24.2 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.428/1.599, allocations: 136.4 MB / 1.058 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/1.599, allocations: 8 kB / 1.058 GB, free: 110 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/1.599, allocations: 87.14 kB / 1.058 GB, free: 110 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008708/1.6, allocations: 0.548 MB / 1.058 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/1.6, allocations: 84.39 kB / 1.059 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/1.6, allocations: 28 kB / 1.059 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008008/1.601, allocations: 0.5606 MB / 1.059 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008919/1.602, allocations: 0.7374 MB / 1.06 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/1.602, allocations: 15.83 kB / 1.06 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/1.602, allocations: 3.938 kB / 1.06 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.989e-05/1.602, allocations: 40.98 kB / 1.06 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/1.605, allocations: 3.813 MB / 1.064 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/1.606, allocations: 234.5 kB / 1.064 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/1.606, allocations: 165.4 kB / 1.064 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002752/1.606, allocations: 0.4984 MB / 1.064 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/1.606, allocations: 38.84 kB / 1.065 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/1.606, allocations: 0 / 1.065 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.002969/1.609, allocations: 1.276 MB / 1.066 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/1.609, allocations: 136.5 kB / 1.066 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/1.61, allocations: 450 kB / 1.066 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/1.61, allocations: 25.7 kB / 1.066 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/1.61, allocations: 323 kB / 1.067 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.513e-05/1.61, allocations: 142 kB / 1.067 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/1.61, allocations: 0 / 1.067 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.212e-05/1.61, allocations: 370.8 kB / 1.067 GB, free: 99.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/1.61, allocations: 193.5 kB / 1.067 GB, free: 99.72 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/1.611, allocations: 498.9 kB / 1.068 GB, free: 99.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006239/1.611, allocations: 320.4 kB / 1.068 GB, free: 98.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.611, allocations: 4 kB / 1.068 GB, free: 98.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001912/1.613, allocations: 0.8543 MB / 1.069 GB, free: 97.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/1.613, allocations: 7.938 kB / 1.069 GB, free: 97.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.613, allocations: 8 kB / 1.069 GB, free: 97.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/1.614, allocations: 248.7 kB / 1.069 GB, free: 97.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/1.615, allocations: 123.8 kB / 1.069 GB, free: 97.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009037/1.616, allocations: 0.9159 MB / 1.07 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005801/1.616, allocations: 40.09 kB / 1.07 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.729e-05/1.616, allocations: 36 kB / 1.07 GB, free: 96.52 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.0001261/1.617, allocations: 132.7 kB / 1.07 GB, free: 96.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.583e-05/1.617, allocations: 67.23 kB / 1.07 GB, free: 96.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/1.618, allocations: 0.6689 MB / 1.071 GB, free: 95.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/1.618, allocations: 7.984 kB / 1.071 GB, free: 95.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.618, allocations: 0 / 1.071 GB, free: 95.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/1.618, allocations: 0 / 1.071 GB, free: 95.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/1.62, allocations: 1.535 MB / 1.073 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.62, allocations: 0 / 1.073 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/1.621, allocations: 199.9 kB / 1.073 GB, free: 93.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.065e-05/1.621, allocations: 28.78 kB / 1.073 GB, free: 93.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/1.621, allocations: 7.984 kB / 1.073 GB, free: 93.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/1.622, allocations: 2.576 MB / 1.075 GB, free: 90.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.622, allocations: 0 / 1.075 GB, free: 90.92 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001184/1.624, allocations: 1.021 MB / 1.076 GB, free: 89.8 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001426/1.625, allocations: 1.654 MB / 1.078 GB, free: 88.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/1.625, allocations: 200.3 kB / 1.078 GB, free: 87.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/1.625, allocations: 4 kB / 1.078 GB, free: 87.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/1.626, allocations: 15.98 kB / 1.078 GB, free: 87.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.107e-05/1.626, allocations: 35.92 kB / 1.078 GB, free: 87.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.827e-05/1.626, allocations: 19.98 kB / 1.078 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002824/1.626, allocations: 330.9 kB / 1.079 GB, free: 87.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001458/1.628, allocations: 255.8 kB / 1.079 GB, free: 87.2 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.0005516/1.628, allocations: 347.4 kB / 1.079 GB, free: 86.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008084/1.629, allocations: 0.5284 MB / 1.08 GB, free: 86.35 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.629, allocations: 2 kB / 1.08 GB, free: 86.35 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/1.63, allocations: 453.7 kB / 1.08 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/1.631, allocations: 265.2 kB / 1.08 GB, free: 85.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/1.633, allocations: 0.9644 MB / 1.081 GB, free: 84.63 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/1.633, allocations: 1.028 MB / 1.082 GB, free: 83.57 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/1.633, allocations: 0 / 1.082 GB, free: 83.57 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1)