Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001382/0.001382, allocations: 191.9 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.2 MB / 213.4 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00091/0.0009101, allocations: 90.05 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2138/0.2138, allocations: 43.49 MB / 352.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2352/0.449, allocations: 64.99 MB / 417.8 MB, free: 40.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.8018, allocations: 58.83 MB / 476.7 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1724/0.9743, allocations: 94.3 MB / 0.5576 GB, free: 4.676 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.9747, allocations: 99.92 kB / 0.5577 GB, free: 4.578 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:6216:11-6222: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 3.2.3+maint.om/Fluid/Dissipation.mo:6224:11-6227: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 3.2.3+maint.om/Fluid/Dissipation.mo:6230:11-6236: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 3.2.3+maint.om/Fluid/Dissipation.mo:6238:11-6241: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.03821/1.013, allocations: 11.53 MB / 0.5689 GB, free: 8.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/1.013, allocations: 8 kB / 0.569 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/1.013, allocations: 27.62 kB / 0.569 GB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/1.014, allocations: 246.6 kB / 0.5692 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/1.014, allocations: 8 kB / 0.5692 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/1.014, allocations: 19.91 kB / 0.5692 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007587/1.015, allocations: 417.2 kB / 0.5696 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006842/1.015, allocations: 405.4 kB / 0.57 GB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/1.015, allocations: 0 / 0.57 GB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/1.015, allocations: 0 / 0.57 GB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-05/1.015, allocations: 40.75 kB / 0.5701 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/1.018, allocations: 1.293 MB / 0.5713 GB, free: 6.332 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/1.018, allocations: 265.2 kB / 0.5716 GB, free: 6.066 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/1.018, allocations: 80.81 kB / 0.5717 GB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/1.019, allocations: 8 kB / 0.5717 GB, free: 5.977 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/1.019, allocations: 42.5 kB / 0.5717 GB, free: 5.926 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/1.019, allocations: 0 / 0.5717 GB, free: 5.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.000458/1.019, allocations: 209.9 kB / 0.5719 GB, free: 5.715 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/1.019, allocations: 59.31 kB / 0.572 GB, free: 5.645 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/1.019, allocations: 113.3 kB / 0.5721 GB, free: 5.523 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/1.019, allocations: 29.7 kB / 0.5721 GB, free: 5.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/1.019, allocations: 187.8 kB / 0.5723 GB, free: 5.297 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/1.019, allocations: 86.75 kB / 0.5724 GB, free: 5.211 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/1.019, allocations: 0 / 0.5724 GB, free: 5.211 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/1.02, allocations: 330.8 kB / 0.5727 GB, free: 4.879 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/1.02, allocations: 71.97 kB / 0.5727 GB, free: 4.809 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/1.02, allocations: 158.1 kB / 0.5729 GB, free: 4.617 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/1.02, allocations: 100.1 kB / 0.573 GB, free: 4.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/1.02, allocations: 3.906 kB / 0.573 GB, free: 4.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004557/1.021, allocations: 269.2 kB / 0.5733 GB, free: 4.246 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/1.021, allocations: 4 kB / 0.5733 GB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/1.021, allocations: 4 kB / 0.5733 GB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.021, allocations: 4 kB / 0.5733 GB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006496/1.021, allocations: 144.1 kB / 0.5734 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/1.023, allocations: 2.379 MB / 0.5757 GB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/1.023, allocations: 39.84 kB / 0.5758 GB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/1.023, allocations: 23.92 kB / 0.5758 GB, free: 1.559 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.0001449/1.023, allocations: 106.3 kB / 0.5759 GB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/1.023, allocations: 15.81 kB / 0.5759 GB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008684/1.024, allocations: 369.8 kB / 0.5763 GB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/1.024, allocations: 7.906 kB / 0.5763 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.024, allocations: 4 kB / 0.5763 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.024, allocations: 3.984 kB / 0.5763 GB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/1.025, allocations: 274.3 kB / 0.5765 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/1.025, allocations: 0 / 0.5765 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005421/1.025, allocations: 119.8 kB / 0.5766 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/1.025, allocations: 4 kB / 0.5766 GB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/1.025, allocations: 11.98 kB / 0.5767 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/1.027, allocations: 2.375 MB / 0.579 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.027, allocations: 0 / 0.579 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004173/1.027, allocations: 339.4 kB / 0.5793 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005401/1.028, allocations: 0.6994 MB / 0.58 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/1.028, allocations: 96.86 kB / 0.5801 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/1.028, allocations: 0 / 0.5801 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/1.028, allocations: 15.98 kB / 0.5801 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/1.028, allocations: 23.88 kB / 0.5801 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/1.028, allocations: 11.98 kB / 0.5801 GB, free: 12.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.635e-05/1.028, allocations: 98.8 kB / 0.5802 GB, free: 12.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001427/1.03, allocations: 183.5 kB / 0.5804 GB, free: 12.64 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.0006649/1.03, allocations: 274.7 kB / 0.5807 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007078/1.031, allocations: 255.7 kB / 0.5809 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.031, allocations: 0.6875 kB / 0.5809 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004535/1.032, allocations: 171.8 kB / 0.5811 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/1.032, allocations: 7.859 kB / 0.5811 GB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008922/1.033, allocations: 388.9 kB / 0.5814 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/1.033, allocations: 0.8409 MB / 0.5823 GB, free: 10.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/1.033, allocations: 0 / 0.5823 GB, free: 10.66 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat