Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",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.001286/0.001286, allocations: 198.6 kB / 8.539 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.163/1.163, allocations: 225.5 MB / 234.4 MB, free: 15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009336/0.0009336, allocations: 97.39 kB / 286.4 MB, free: 12.63 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2918/0.2918, allocations: 45.14 MB / 383.3 MB, free: 40.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1215/0.4134, allocations: 69.37 MB / 452.7 MB, free: 5.406 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.7054, allocations: 63.23 MB / 0.5039 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8066/1.512, allocations: 0.5055 GB / 1.009 GB, free: 93.52 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/1.512, allocations: 83.78 kB / 1.009 GB, free: 93.45 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 1.221/2.734, allocations: 385.1 MB / 1.386 GB, free: 70.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/2.734, allocations: 11.69 kB / 1.386 GB, free: 70.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/2.735, allocations: 212.6 kB / 1.386 GB, free: 70.49 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/2.737, allocations: 0.8564 MB / 1.387 GB, free: 70.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/2.737, allocations: 31.5 kB / 1.387 GB, free: 70.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/2.737, allocations: 41.75 kB / 1.387 GB, free: 70.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001505/2.738, allocations: 1.062 MB / 1.388 GB, free: 70.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/2.74, allocations: 1.14 MB / 1.389 GB, free: 69.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/2.74, allocations: 11.03 kB / 1.389 GB, free: 69.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/2.74, allocations: 0 / 1.389 GB, free: 69.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.506e-05/2.74, allocations: 90.2 kB / 1.389 GB, free: 69.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00704/2.747, allocations: 5.211 MB / 1.394 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007755/2.748, allocations: 466.2 kB / 1.394 GB, free: 67.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004687/2.748, allocations: 313.8 kB / 1.395 GB, free: 67.33 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/2.749, allocations: 345 kB / 1.395 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/2.749, allocations: 44.28 kB / 1.395 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=56): time 2.245e-06/2.749, allocations: 0 / 1.395 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.008289/2.757, allocations: 2.356 MB / 1.397 GB, free: 66.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/2.757, allocations: 215.7 kB / 1.398 GB, free: 66.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009601/2.758, allocations: 0.6977 MB / 1.398 GB, free: 65.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-05/2.758, allocations: 27.64 kB / 1.398 GB, free: 65.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/2.758, allocations: 410 kB / 1.399 GB, free: 65.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/2.759, allocations: 216.4 kB / 1.399 GB, free: 65.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/2.759, allocations: 0 / 1.399 GB, free: 65.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.865e-05/2.759, allocations: 345 kB / 1.399 GB, free: 65.22 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/2.759, allocations: 393.5 kB / 1.4 GB, free: 65.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007645/2.76, allocations: 0.6126 MB / 1.4 GB, free: 64.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003709/2.764, allocations: 1.138 MB / 1.401 GB, free: 64.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/2.764, allocations: 3.875 kB / 1.401 GB, free: 64.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005301/2.769, allocations: 1.962 MB / 1.403 GB, free: 64.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003632/2.769, allocations: 2.184 MB / 1.405 GB, free: 62.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/2.769, allocations: 5.344 kB / 1.405 GB, free: 62.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/2.772, allocations: 492.1 kB / 1.406 GB, free: 62.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/2.772, allocations: 176.8 kB / 1.406 GB, free: 62.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/2.775, allocations: 1.467 MB / 1.407 GB, free: 62.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/2.776, allocations: 60.2 kB / 1.408 GB, free: 62.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/2.776, allocations: 92.7 kB / 1.408 GB, free: 62.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.695e-06/2.776, allocations: 3.5 kB / 1.408 GB, free: 62.02 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004648/2.781, allocations: 1.65 MB / 1.409 GB, free: 62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/2.781, allocations: 5.188 kB / 1.409 GB, free: 62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/2.782, allocations: 327.1 kB / 1.41 GB, free: 61.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/2.783, allocations: 202.7 kB / 1.41 GB, free: 61.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008947/2.784, allocations: 1.017 MB / 1.411 GB, free: 61.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008915/2.785, allocations: 52.09 kB / 1.411 GB, free: 61.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/2.785, allocations: 87.75 kB / 1.411 GB, free: 61.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0002931/2.785, allocations: 124.4 kB / 1.411 GB, free: 61.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/2.785, allocations: 98.25 kB / 1.411 GB, free: 61.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/2.789, allocations: 1.682 MB / 1.413 GB, free: 61.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/2.789, allocations: 7.844 kB / 1.413 GB, free: 61.17 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/2.789, allocations: 0 / 1.413 GB, free: 61.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/2.789, allocations: 3.094 kB / 1.413 GB, free: 61.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/2.792, allocations: 1.843 MB / 1.415 GB, free: 60.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/2.792, allocations: 0 / 1.415 GB, free: 60.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/2.793, allocations: 157.2 kB / 1.415 GB, free: 60.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.526e-05/2.793, allocations: 21.92 kB / 1.415 GB, free: 60.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.06e-05/2.793, allocations: 20.31 kB / 1.415 GB, free: 60.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000686/2.794, allocations: 1.227 MB / 1.416 GB, free: 59.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/2.794, allocations: 2.906 kB / 1.416 GB, free: 59.5 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002279/2.796, allocations: 1.426 MB / 1.417 GB, free: 58.85 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003014/2.799, allocations: 2.328 MB / 1.42 GB, free: 57.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/2.799, allocations: 180.2 kB / 1.42 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/2.8, allocations: 6.375 kB / 1.42 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007741/2.8, allocations: 52.31 kB / 1.42 GB, free: 57.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/2.8, allocations: 54.16 kB / 1.42 GB, free: 57.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/2.801, allocations: 53.78 kB / 1.42 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0006751/2.801, allocations: 0.5256 MB / 1.42 GB, free: 57.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005336/2.807, allocations: 1.452 MB / 1.422 GB, free: 56.54 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003758/2.81, allocations: 2.01 MB / 1.424 GB, free: 56.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002471/2.813, allocations: 1.468 MB / 1.425 GB, free: 55.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/2.813, allocations: 0 / 1.425 GB, free: 55.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005946/2.813, allocations: 476.7 kB / 1.426 GB, free: 55.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/2.816, allocations: 450.4 kB / 1.426 GB, free: 55.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/2.819, allocations: 1.489 MB / 1.428 GB, free: 54.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/2.82, allocations: 1.368 MB / 1.429 GB, free: 53.96 MB / 0.5261 GB Notification: Performance of SimCode: time 1.543e-06/2.82, allocations: 0 / 1.429 GB, free: 53.96 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)