Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.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.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",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.0009976/0.0009976, allocations: 200.6 kB / 8.539 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 225.5 MB / 234.4 MB, free: 3.379 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009306/0.0009309, allocations: 99.66 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1781/0.1781, allocations: 45.15 MB / 383.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2239/0.402, allocations: 69.39 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09457/0.4966, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2916/0.7883, allocations: 92.4 MB / 0.5941 GB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.7886, allocations: 98.2 kB / 0.5942 GB, free: 10.32 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.01701/0.8057, allocations: 6.258 MB / 0.6003 GB, free: 4.906 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.8057, allocations: 8 kB / 0.6003 GB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.8071, allocations: 193.4 kB / 0.6005 GB, free: 4.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.8075, allocations: 272.7 kB / 0.6008 GB, free: 4.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.8076, allocations: 15.94 kB / 0.6008 GB, free: 4.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.8076, allocations: 12 kB / 0.6008 GB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007319/0.8084, allocations: 0.5204 MB / 0.6013 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/0.809, allocations: 423.1 kB / 0.6017 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.809, allocations: 3.984 kB / 0.6017 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.809, allocations: 8 kB / 0.6017 GB, free: 3.715 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/0.8091, allocations: 28.27 kB / 0.6018 GB, free: 3.691 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.8111, allocations: 1.094 MB / 0.6028 GB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.8113, allocations: 112.7 kB / 0.6029 GB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.8114, allocations: 51.2 kB / 0.603 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.8115, allocations: 6.938 kB / 0.603 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.8115, allocations: 30.56 kB / 0.603 GB, free: 2.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.8115, allocations: 0 / 0.603 GB, free: 2.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004077/0.8119, allocations: 143.7 kB / 0.6032 GB, free: 2.293 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.8119, allocations: 51.41 kB / 0.6032 GB, free: 2.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.8121, allocations: 138 kB / 0.6033 GB, free: 2.102 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.8121, allocations: 25.7 kB / 0.6034 GB, free: 2.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.8122, allocations: 181.1 kB / 0.6035 GB, free: 1.902 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.8122, allocations: 26.97 kB / 0.6036 GB, free: 1.879 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.77e-05/0.8123, allocations: 0 / 0.6036 GB, free: 1.879 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.8124, allocations: 317.9 kB / 0.6039 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.8125, allocations: 58.59 kB / 0.6039 GB, free: 1.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.8127, allocations: 89.58 kB / 0.604 GB, free: 1.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.8128, allocations: 58.89 kB / 0.6041 GB, free: 1.379 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8128, allocations: 7.938 kB / 0.6041 GB, free: 1.371 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003732/0.8132, allocations: 181.8 kB / 0.6042 GB, free: 1.211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.8132, allocations: 7.281 kB / 0.6042 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.8132, allocations: 0 / 0.6042 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.8132, allocations: 4 kB / 0.6043 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006073/0.8193, allocations: 456.3 kB / 0.6047 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003618/0.8229, allocations: 1.957 MB / 0.6066 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004379/0.8234, allocations: 28.06 kB / 0.6066 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.8234, allocations: 11.92 kB / 0.6066 GB, free: 14.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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.0001094/0.8236, allocations: 108.8 kB / 0.6067 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.8236, allocations: 11.91 kB / 0.6068 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.8236, allocations: 7.875 kB / 0.6068 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.8237, allocations: 4 kB / 0.6068 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8237, allocations: 0 / 0.6068 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.8237, allocations: 0 / 0.6068 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.824, allocations: 251.6 kB / 0.607 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.824, allocations: 4 kB / 0.607 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005899/0.8299, allocations: 443.3 kB / 0.6074 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.83, allocations: 4 kB / 0.6074 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.83, allocations: 11.05 kB / 0.6074 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003431/0.8334, allocations: 1.961 MB / 0.6094 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8335, allocations: 0 / 0.6094 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003767/0.8338, allocations: 237.9 kB / 0.6096 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004769/0.8343, allocations: 0.6183 MB / 0.6102 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.8344, allocations: 85.02 kB / 0.6103 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.8344, allocations: 4.094 kB / 0.6103 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.8349, allocations: 19.97 kB / 0.6103 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.8349, allocations: 8.078 kB / 0.6103 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.835, allocations: 11.92 kB / 0.6103 GB, free: 10.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.195e-05/0.835, allocations: 106 kB / 0.6104 GB, free: 10.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000952/0.836, allocations: 87.53 kB / 0.6105 GB, free: 10.71 MB / 410.7 MB 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 (7): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0002232/0.8362, allocations: 141.1 kB / 0.6106 GB, free: 10.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008238/0.8445, allocations: 0.6135 MB / 0.6112 GB, free: 9.973 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.8445, allocations: 0 / 0.6112 GB, free: 9.973 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007863/0.8524, allocations: 0.545 MB / 0.6118 GB, free: 9.434 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.8527, allocations: 15.84 kB / 0.6118 GB, free: 9.422 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007269/0.8534, allocations: 300.8 kB / 0.6121 GB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/0.8539, allocations: 0.816 MB / 0.6129 GB, free: 8.277 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.8539, allocations: 4 kB / 0.6129 GB, free: 8.273 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat