Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.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.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",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.001161/0.001161, allocations: 196 kB / 8.54 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.169/1.169, allocations: 225.5 MB / 234.4 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008837/0.0008838, allocations: 94.67 kB / 286.3 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1616/0.1616, allocations: 45.14 MB / 383.3 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1925/0.3541, allocations: 69.39 MB / 452.7 MB, free: 76.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08593/0.4401, allocations: 63.23 MB / 0.5039 GB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6191/1.059, allocations: 340 MB / 0.8359 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/1.059, allocations: 98.64 kB / 0.836 GB, free: 133.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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 1.225/2.284, allocations: 465 MB / 1.29 GB, free: 59.78 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/2.284, allocations: 11.84 kB / 1.29 GB, free: 59.78 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/2.286, allocations: 251 kB / 1.29 GB, free: 59.69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/2.288, allocations: 1.107 MB / 1.291 GB, free: 59.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/2.288, allocations: 41.69 kB / 1.291 GB, free: 59.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/2.288, allocations: 73.62 kB / 1.292 GB, free: 59.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002489/2.291, allocations: 1.39 MB / 1.293 GB, free: 58.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/2.293, allocations: 1.626 MB / 1.294 GB, free: 57.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/2.294, allocations: 6.812 kB / 1.294 GB, free: 57.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/2.294, allocations: 11.34 kB / 1.294 GB, free: 57.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/2.294, allocations: 34.22 kB / 1.295 GB, free: 57.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009968/2.304, allocations: 10.45 MB / 1.305 GB, free: 48.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009234/2.305, allocations: 0.6068 MB / 1.305 GB, free: 48.47 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004956/2.305, allocations: 366.9 kB / 1.306 GB, free: 48.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004292/2.31, allocations: 4.297 MB / 1.31 GB, free: 44.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/2.31, allocations: 44.81 kB / 1.31 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.244e-06/2.31, allocations: 1.188 kB / 1.31 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.005659/2.315, allocations: 1.307 MB / 1.311 GB, free: 44.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/2.315, allocations: 372.1 kB / 1.312 GB, free: 43.69 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/2.317, allocations: 1.023 MB / 1.313 GB, free: 43.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/2.317, allocations: 28.67 kB / 1.313 GB, free: 43.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/2.317, allocations: 0.7483 MB / 1.313 GB, free: 42.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/2.317, allocations: 196.1 kB / 1.313 GB, free: 42.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/2.318, allocations: 0 / 1.313 GB, free: 42.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/2.318, allocations: 363.4 kB / 1.314 GB, free: 42.15 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005792/2.318, allocations: 344 kB / 1.314 GB, free: 42.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000854/2.319, allocations: 0.9386 MB / 1.315 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004776/2.324, allocations: 1.156 MB / 1.316 GB, free: 40.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/2.324, allocations: 3.969 kB / 1.316 GB, free: 40.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.006143/2.33, allocations: 1.958 MB / 1.318 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/2.33, allocations: 6.562 kB / 1.318 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/2.33, allocations: 17.05 kB / 1.318 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.312e-05/2.33, allocations: 32.22 kB / 1.318 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/2.333, allocations: 0.521 MB / 1.319 GB, free: 40.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/2.334, allocations: 1.926 MB / 1.321 GB, free: 38.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/2.336, allocations: 202.7 kB / 1.321 GB, free: 38.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/2.336, allocations: 92.33 kB / 1.321 GB, free: 38.24 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002676/2.336, allocations: 155 kB / 1.321 GB, free: 38.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/2.336, allocations: 139.7 kB / 1.321 GB, free: 38.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004458/2.341, allocations: 2.057 MB / 1.323 GB, free: 36.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/2.341, allocations: 7.531 kB / 1.323 GB, free: 36.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/2.341, allocations: 0 / 1.323 GB, free: 36.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/2.341, allocations: 7.734 kB / 1.323 GB, free: 36.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/2.343, allocations: 1.021 MB / 1.324 GB, free: 36.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/2.343, allocations: 1.031 kB / 1.324 GB, free: 36.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/2.344, allocations: 246.5 kB / 1.324 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005578/2.344, allocations: 77.25 kB / 1.324 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/2.344, allocations: 22.34 kB / 1.324 GB, free: 36.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/2.346, allocations: 1.828 MB / 1.326 GB, free: 34.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/2.346, allocations: 0 / 1.326 GB, free: 34.28 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002959/2.349, allocations: 1.345 MB / 1.328 GB, free: 32.91 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003105/2.352, allocations: 1.826 MB / 1.329 GB, free: 31.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004479/2.352, allocations: 275 kB / 1.33 GB, free: 30.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/2.353, allocations: 7.312 kB / 1.33 GB, free: 30.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009609/2.354, allocations: 51.12 kB / 1.33 GB, free: 30.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/2.354, allocations: 56.59 kB / 1.33 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/2.354, allocations: 67.92 kB / 1.33 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0008807/2.355, allocations: 0.7478 MB / 1.331 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003373/2.358, allocations: 1.116 MB / 1.332 GB, free: 28.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002/2.36, allocations: 1.281 MB / 1.333 GB, free: 27.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00406/2.364, allocations: 1.227 MB / 1.334 GB, free: 26.44 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.768e-06/2.364, allocations: 0.6562 kB / 1.334 GB, free: 26.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/2.366, allocations: 0.5396 MB / 1.335 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/2.368, allocations: 0.5578 MB / 1.335 GB, free: 25.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/2.372, allocations: 1.819 MB / 1.337 GB, free: 23.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009066/2.373, allocations: 1.478 MB / 1.338 GB, free: 22.01 MB / 0.5261 GB Notification: Performance of SimCode: time 5.01e-07/2.373, allocations: 0 / 1.338 GB, free: 22.01 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe 2>&1)