Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009516/0.0009517, allocations: 174.8 kB / 8.518 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.171/1.171, allocations: 221.4 MB / 230.3 MB, free: 7.637 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008004/0.0008005, allocations: 94.59 kB / 281.2 MB, free: 5.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1605/0.1605, allocations: 44.14 MB / 376.1 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1898/0.3503, allocations: 68.06 MB / 444.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09761/0.4479, allocations: 61.9 MB / 0.4942 GB, free: 1.488 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2763/0.7243, allocations: 95.47 MB / 0.5874 GB, free: 1.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.7246, allocations: 108.3 kB / 0.5875 GB, free: 1.129 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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.03627/0.7609, allocations: 11.75 MB / 0.599 GB, free: 5.273 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.7609, allocations: 15.94 kB / 0.599 GB, free: 5.258 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.336e-05/0.761, allocations: 31.62 kB / 0.5991 GB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.7613, allocations: 246.5 kB / 0.5993 GB, free: 4.945 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.7613, allocations: 8 kB / 0.5993 GB, free: 4.938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.7614, allocations: 16 kB / 0.5993 GB, free: 4.922 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006078/0.762, allocations: 417.1 kB / 0.5997 GB, free: 4.508 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005756/0.7626, allocations: 409.4 kB / 0.6001 GB, free: 4.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.7626, allocations: 0 / 0.6001 GB, free: 4.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.7626, allocations: 3.984 kB / 0.6001 GB, free: 4.105 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-05/0.7627, allocations: 44.75 kB / 0.6002 GB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.7645, allocations: 1.274 MB / 0.6014 GB, free: 2.676 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.765, allocations: 258.5 kB / 0.6016 GB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.7651, allocations: 85.11 kB / 0.6017 GB, free: 2.328 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.7652, allocations: 16.3 kB / 0.6017 GB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.7652, allocations: 34.56 kB / 0.6018 GB, free: 2.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.7652, allocations: 0 / 0.6018 GB, free: 2.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003996/0.7656, allocations: 205.4 kB / 0.602 GB, free: 2.062 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.7657, allocations: 59.34 kB / 0.602 GB, free: 1.992 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.7658, allocations: 136.2 kB / 0.6022 GB, free: 1.852 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.7658, allocations: 25.7 kB / 0.6022 GB, free: 1.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.933e-05/0.7659, allocations: 191.7 kB / 0.6024 GB, free: 1.625 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.964e-05/0.766, allocations: 82.75 kB / 0.6024 GB, free: 1.543 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.766, allocations: 0 / 0.6024 GB, free: 1.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.7661, allocations: 326.8 kB / 0.6028 GB, free: 1.215 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.7662, allocations: 71.81 kB / 0.6028 GB, free: 1.145 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.7664, allocations: 158.1 kB / 0.603 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.7666, allocations: 111.8 kB / 0.6031 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7666, allocations: 0 / 0.6031 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004353/0.767, allocations: 269.5 kB / 0.6033 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.767, allocations: 8 kB / 0.6033 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.7671, allocations: 4 kB / 0.6033 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.7671, allocations: 4 kB / 0.6034 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.7677, allocations: 123.8 kB / 0.6035 GB, free: 448 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.7689, allocations: 2.391 MB / 0.6058 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.7691, allocations: 31.67 kB / 0.6058 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.7692, allocations: 19.98 kB / 0.6059 GB, free: 13.9 MB / 426.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 9.421e-05/0.7693, allocations: 113 kB / 0.606 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.7693, allocations: 11.81 kB / 0.606 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008045/0.7701, allocations: 376.1 kB / 0.6063 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.7701, allocations: 4 kB / 0.6063 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7702, allocations: 3.906 kB / 0.6063 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.7702, allocations: 0 / 0.6063 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.7705, allocations: 273.9 kB / 0.6066 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7705, allocations: 0 / 0.6066 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.771, allocations: 119.8 kB / 0.6067 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.7711, allocations: 4 kB / 0.6067 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.7711, allocations: 7.984 kB / 0.6067 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.7724, allocations: 2.383 MB / 0.6091 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7724, allocations: 0 / 0.6091 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000376/0.7728, allocations: 331.3 kB / 0.6094 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005129/0.7733, allocations: 0.7109 MB / 0.6101 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.7733, allocations: 92.86 kB / 0.6102 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.7734, allocations: 4 kB / 0.6102 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.7736, allocations: 11.98 kB / 0.6102 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.7736, allocations: 19.88 kB / 0.6102 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.7737, allocations: 12 kB / 0.6102 GB, free: 9.258 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.518e-05/0.7737, allocations: 103.2 kB / 0.6103 GB, free: 9.156 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001214/0.7749, allocations: 183.5 kB / 0.6105 GB, free: 8.977 MB / 426.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.0005431/0.7755, allocations: 250.9 kB / 0.6107 GB, free: 8.723 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006573/0.7762, allocations: 280.3 kB / 0.611 GB, free: 8.449 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.7762, allocations: 0 / 0.611 GB, free: 8.449 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.7766, allocations: 160.5 kB / 0.6111 GB, free: 8.293 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.7768, allocations: 15.98 kB / 0.6111 GB, free: 8.277 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007866/0.7776, allocations: 388.9 kB / 0.6115 GB, free: 7.871 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/0.7781, allocations: 0.8485 MB / 0.6123 GB, free: 6.996 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.7781, allocations: 0 / 0.6123 GB, free: 6.996 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat