Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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.TestMultiPort,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",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.001103/0.001103, allocations: 207 kB / 8.542 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.236/1.236, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008576/0.0008576, allocations: 89.23 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1639/0.1639, allocations: 45.15 MB / 383.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.202/0.3659, allocations: 69.37 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.4551, allocations: 63.24 MB / 0.5039 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.201/5.656, allocations: 3.432 GB / 3.936 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001768/5.656, allocations: 87.78 kB / 3.936 GB, free: 143.6 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 1.36/7.016, allocations: 462.5 MB / 4.388 GB, free: 75.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/7.016, allocations: 10.25 kB / 4.388 GB, free: 75.58 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004457/7.017, allocations: 124.1 kB / 4.388 GB, free: 75.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/7.018, allocations: 0.7422 MB / 4.389 GB, free: 75.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/7.018, allocations: 33.67 kB / 4.389 GB, free: 75.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/7.019, allocations: 40.06 kB / 4.389 GB, free: 75.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001781/7.02, allocations: 1.234 MB / 4.39 GB, free: 74.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/7.022, allocations: 1.109 MB / 4.391 GB, free: 74.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/7.022, allocations: 0 / 4.391 GB, free: 74.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.802e-05/7.022, allocations: 0 / 4.391 GB, free: 74.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.289e-05/7.022, allocations: 94.8 kB / 4.391 GB, free: 74.22 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007343/7.03, allocations: 4.703 MB / 4.396 GB, free: 71.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/7.031, allocations: 0.7552 MB / 4.396 GB, free: 71.04 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000446/7.031, allocations: 369.4 kB / 4.397 GB, free: 70.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005822/7.032, allocations: 0.7862 MB / 4.397 GB, free: 70.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/7.032, allocations: 42.88 kB / 4.397 GB, free: 70 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.926e-06/7.032, allocations: 3.938 kB / 4.397 GB, free: 70 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.002696/7.035, allocations: 0.8872 MB / 4.398 GB, free: 69.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/7.035, allocations: 108.8 kB / 4.398 GB, free: 69.58 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007918/7.036, allocations: 0.6104 MB / 4.399 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/7.036, allocations: 27.17 kB / 4.399 GB, free: 69.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/7.036, allocations: 399.6 kB / 4.399 GB, free: 68.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/7.036, allocations: 179.9 kB / 4.4 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/7.036, allocations: 0 / 4.4 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000117/7.036, allocations: 382.8 kB / 4.4 GB, free: 68.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007126/7.037, allocations: 439.4 kB / 4.4 GB, free: 68.31 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007643/7.038, allocations: 0.5404 MB / 4.401 GB, free: 68.03 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/7.042, allocations: 1.021 MB / 4.402 GB, free: 67.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/7.042, allocations: 0 / 4.402 GB, free: 67.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004409/7.046, allocations: 1.649 MB / 4.404 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001888/7.046, allocations: 0.9618 MB / 4.404 GB, free: 65.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/7.046, allocations: 8.547 kB / 4.404 GB, free: 65.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/7.046, allocations: 4 kB / 4.404 GB, free: 65.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009697/7.047, allocations: 197.8 kB / 4.405 GB, free: 65.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/7.047, allocations: 11.94 kB / 4.405 GB, free: 65.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/7.048, allocations: 97.48 kB / 4.405 GB, free: 65.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/7.048, allocations: 47.55 kB / 4.405 GB, free: 64.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/7.048, allocations: 7.125 kB / 4.405 GB, free: 64.98 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004315/7.053, allocations: 1.462 MB / 4.406 GB, free: 63.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/7.053, allocations: 4 kB / 4.406 GB, free: 63.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/7.053, allocations: 4 kB / 4.406 GB, free: 63.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008922/7.054, allocations: 204.7 kB / 4.406 GB, free: 63.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/7.054, allocations: 8.562 kB / 4.406 GB, free: 63.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007877/7.054, allocations: 75.14 kB / 4.407 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/7.055, allocations: 47.97 kB / 4.407 GB, free: 63.57 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000253/7.055, allocations: 120.7 kB / 4.407 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/7.055, allocations: 71.16 kB / 4.407 GB, free: 63.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/7.058, allocations: 1.242 MB / 4.408 GB, free: 62.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/7.058, allocations: 11.91 kB / 4.408 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/7.058, allocations: 0 / 4.408 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/7.058, allocations: 3.984 kB / 4.408 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/7.06, allocations: 1.743 MB / 4.41 GB, free: 60.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/7.06, allocations: 8 kB / 4.41 GB, free: 60.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000535/7.061, allocations: 113.8 kB / 4.41 GB, free: 60.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-06/7.061, allocations: 4 kB / 4.41 GB, free: 60.19 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/7.061, allocations: 15.92 kB / 4.41 GB, free: 60.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/7.061, allocations: 5.625 kB / 4.41 GB, free: 60.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/7.061, allocations: 0 / 4.41 GB, free: 60.17 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001629/7.063, allocations: 1.004 MB / 4.411 GB, free: 59.09 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001855/7.064, allocations: 1.46 MB / 4.412 GB, free: 57.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/7.065, allocations: 200 kB / 4.412 GB, free: 57.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/7.065, allocations: 4 kB / 4.412 GB, free: 57.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007139/7.066, allocations: 44.7 kB / 4.412 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/7.066, allocations: 40.3 kB / 4.413 GB, free: 57.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.642e-05/7.066, allocations: 43.94 kB / 4.413 GB, free: 57.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0005683/7.066, allocations: 0.5226 MB / 4.413 GB, free: 56.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005862/7.072, allocations: 1.708 MB / 4.415 GB, free: 54.98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00423/7.077, allocations: 2.091 MB / 4.417 GB, free: 53.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001934/7.078, allocations: 1.429 MB / 4.418 GB, free: 51.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/7.078, allocations: 4 kB / 4.418 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003843/7.079, allocations: 345.8 kB / 4.419 GB, free: 51.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/7.08, allocations: 303.4 kB / 4.419 GB, free: 51.11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/7.083, allocations: 1.27 MB / 4.42 GB, free: 49.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009044/7.084, allocations: 1.187 MB / 4.421 GB, free: 48.58 MB / 0.5261 GB Notification: Performance of SimCode: time 5.92e-07/7.084, allocations: 0 / 4.421 GB, free: 48.58 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1)