Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_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.001061/0.001061, allocations: 206.7 kB / 8.544 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.16/1.16, allocations: 225.5 MB / 234.4 MB, free: 3.371 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008989/0.000899, allocations: 94.84 kB / 286.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1666/0.1666, allocations: 45.14 MB / 383.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.201/0.3676, allocations: 69.39 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09433/0.462, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.28/0.742, allocations: 96.54 MB / 0.5982 GB, free: 6.273 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.7424, allocations: 94.08 kB / 0.5982 GB, free: 6.223 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6132:11-6138:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6140:11-6143:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6146:11-6152:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6154:11-6157:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.03703/0.7794, allocations: 11.72 MB / 0.6097 GB, free: 12.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.7795, allocations: 8 kB / 0.6097 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.7796, allocations: 31.62 kB / 0.6097 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.7799, allocations: 237.3 kB / 0.61 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.7799, allocations: 8 kB / 0.61 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.78, allocations: 23.91 kB / 0.61 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005713/0.7806, allocations: 410.5 kB / 0.6104 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.7811, allocations: 419.3 kB / 0.6108 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.7812, allocations: 0 / 0.6108 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.7812, allocations: 0 / 0.6108 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.716e-05/0.7813, allocations: 44.62 kB / 0.6108 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.7834, allocations: 1.275 MB / 0.6121 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.7839, allocations: 265.5 kB / 0.6123 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.7841, allocations: 83.08 kB / 0.6124 GB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.419e-05/0.7841, allocations: 11.92 kB / 0.6124 GB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.7841, allocations: 34.56 kB / 0.6124 GB, free: 9.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.913e-06/0.7842, allocations: 4 kB / 0.6124 GB, free: 9.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004482/0.7846, allocations: 208.8 kB / 0.6126 GB, free: 9.477 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.7846, allocations: 59.28 kB / 0.6127 GB, free: 9.406 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.7848, allocations: 125.5 kB / 0.6128 GB, free: 9.285 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.7848, allocations: 25.7 kB / 0.6128 GB, free: 9.254 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/0.7849, allocations: 190 kB / 0.613 GB, free: 9.074 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.002e-05/0.785, allocations: 85.06 kB / 0.6131 GB, free: 9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.785, allocations: 7.938 kB / 0.6131 GB, free: 8.992 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.7851, allocations: 325.8 kB / 0.6134 GB, free: 8.668 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.7852, allocations: 73.33 kB / 0.6135 GB, free: 8.613 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.7855, allocations: 155.4 kB / 0.6136 GB, free: 8.445 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.7856, allocations: 105.8 kB / 0.6137 GB, free: 8.355 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7856, allocations: 0 / 0.6137 GB, free: 8.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004489/0.7861, allocations: 274 kB / 0.614 GB, free: 8.113 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.7861, allocations: 4 kB / 0.614 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.7861, allocations: 4 kB / 0.614 GB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.7862, allocations: 7.906 kB / 0.614 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006361/0.7868, allocations: 136.1 kB / 0.6141 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.7884, allocations: 2.378 MB / 0.6165 GB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.7886, allocations: 35.95 kB / 0.6165 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.7886, allocations: 15.56 kB / 0.6165 GB, free: 5.465 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.7887, allocations: 115.8 kB / 0.6166 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.7888, allocations: 15.81 kB / 0.6166 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008282/0.7896, allocations: 370.6 kB / 0.617 GB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.7897, allocations: 7.906 kB / 0.617 GB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7897, allocations: 0 / 0.617 GB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.7897, allocations: 3.984 kB / 0.617 GB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.79, allocations: 278.9 kB / 0.6173 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.79, allocations: 4 kB / 0.6173 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/0.7906, allocations: 123.8 kB / 0.6174 GB, free: 4.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.7906, allocations: 4 kB / 0.6174 GB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.7906, allocations: 4 kB / 0.6174 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.7919, allocations: 2.377 MB / 0.6197 GB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.7919, allocations: 0 / 0.6197 GB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003839/0.7923, allocations: 339.5 kB / 0.6201 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005016/0.7928, allocations: 0.7091 MB / 0.6207 GB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.7929, allocations: 92.86 kB / 0.6208 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.7929, allocations: 0 / 0.6208 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.7931, allocations: 15.98 kB / 0.6208 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.7932, allocations: 23.81 kB / 0.6209 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.7932, allocations: 11.38 kB / 0.6209 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.567e-05/0.7933, allocations: 98.7 kB / 0.621 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001283/0.7946, allocations: 198.1 kB / 0.6212 GB, free: 0.707 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005549/0.7951, allocations: 266.3 kB / 0.6214 GB, free: 452 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006261/0.7958, allocations: 255.5 kB / 0.6217 GB, free: 232 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7958, allocations: 4 kB / 0.6217 GB, free: 228 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004366/0.7962, allocations: 173.1 kB / 0.6218 GB, free: 76 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.7964, allocations: 4 kB / 0.6218 GB, free: 72 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008878/0.7973, allocations: 394.3 kB / 0.6222 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005287/0.7979, allocations: 0.8397 MB / 0.623 GB, free: 14.82 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.7979, allocations: 0 / 0.623 GB, free: 14.82 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat