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_laminar_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_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.001445/0.001445, allocations: 174 kB / 8.516 MB, free: 1.855 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.151/1.151, allocations: 221.4 MB / 230.3 MB, free: 7.719 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.0008965/0.0008966, allocations: 87.8 kB / 281.2 MB, free: 5.488 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.1578/0.1578, allocations: 44.15 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2028/0.3606, allocations: 68.06 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.4768, allocations: 61.91 MB / 0.4942 GB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2479/0.7247, allocations: 90.42 MB / 0.5825 GB, free: 6.328 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.725, allocations: 101.9 kB / 0.5826 GB, free: 6.246 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5884:11-5887:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5889:11-5892:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5895:11-5898:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5900:11-5903:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0103/0.7353, allocations: 3.653 MB / 0.5862 GB, free: 2.543 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.7353, allocations: 11.94 kB / 0.5862 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.7356, allocations: 36.8 kB / 0.5862 GB, free: 2.496 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.7358, allocations: 190.8 kB / 0.5864 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.7358, allocations: 4 kB / 0.5864 GB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.7358, allocations: 4 kB / 0.5864 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001906/0.736, allocations: 95.95 kB / 0.5865 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.7363, allocations: 152.1 kB / 0.5866 GB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.7363, allocations: 3.938 kB / 0.5866 GB, free: 2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.7363, allocations: 3.984 kB / 0.5866 GB, free: 1.996 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.7363, allocations: 8 kB / 0.5867 GB, free: 1.988 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007802/0.7371, allocations: 0.6255 MB / 0.5873 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.7374, allocations: 90.64 kB / 0.5873 GB, free: 1.207 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.7374, allocations: 32.98 kB / 0.5874 GB, free: 1.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.7375, allocations: 3.984 kB / 0.5874 GB, free: 1.168 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.7375, allocations: 34.47 kB / 0.5874 GB, free: 1.125 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.7375, allocations: 4 kB / 0.5874 GB, free: 1.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001861/0.7377, allocations: 85.52 kB / 0.5875 GB, free: 1.031 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.7377, allocations: 51.41 kB / 0.5876 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/0.7378, allocations: 110.5 kB / 0.5877 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.7378, allocations: 25.7 kB / 0.5877 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.7379, allocations: 123.8 kB / 0.5878 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.7379, allocations: 27.64 kB / 0.5878 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.7379, allocations: 0 / 0.5878 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.738, allocations: 314.8 kB / 0.5881 GB, free: 356 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.7381, allocations: 27.98 kB / 0.5882 GB, free: 328 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/0.7382, allocations: 75.72 kB / 0.5882 GB, free: 224 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.583e-05/0.7382, allocations: 39.98 kB / 0.5883 GB, free: 184 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7382, allocations: 0 / 0.5883 GB, free: 184 kB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001787/0.7384, allocations: 117.4 kB / 0.5884 GB, free: 60 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.7384, allocations: 7.984 kB / 0.5884 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7384, allocations: 4.25 kB / 0.5884 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.7385, allocations: 8 kB / 0.5884 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.7386, allocations: 39.92 kB / 0.5884 GB, free: 0 / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.7387, allocations: 8.047 kB / 0.5884 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.7388, allocations: 19.84 kB / 0.5885 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.7388, allocations: 11.94 kB / 0.5885 GB, free: 15.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.646e-05/0.7389, allocations: 104.9 kB / 0.5886 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.7389, allocations: 7.906 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.7391, allocations: 101.9 kB / 0.5887 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.7391, allocations: 4 kB / 0.5887 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.7391, allocations: 0 / 0.5887 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.7391, allocations: 4 kB / 0.5887 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.7393, allocations: 162.2 kB / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7393, allocations: 0 / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.7395, allocations: 35.83 kB / 0.5889 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.7395, allocations: 3.984 kB / 0.5889 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.7395, allocations: 7.938 kB / 0.5889 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.7395, allocations: 4 kB / 0.5889 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7395, allocations: 4 kB / 0.5889 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001688/0.7397, allocations: 179.4 kB / 0.5891 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002603/0.74, allocations: 0.5476 MB / 0.5896 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.74, allocations: 92.94 kB / 0.5897 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.74, allocations: 11.84 kB / 0.5897 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.7401, allocations: 8 kB / 0.5897 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.7402, allocations: 3.984 kB / 0.5897 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.7402, allocations: 4 kB / 0.5897 GB, free: 14.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.99e-05/0.7403, allocations: 92.14 kB / 0.5898 GB, free: 14.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008176/0.7411, allocations: 24 kB / 0.5898 GB, free: 14.47 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/0.7412, allocations: 123.2 kB / 0.5899 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.7414, allocations: 71.89 kB / 0.59 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.7414, allocations: 0 / 0.59 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.172e-05/0.7415, allocations: 31.92 kB / 0.59 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.7416, allocations: 8 kB / 0.59 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.7419, allocations: 132.3 kB / 0.5902 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.7422, allocations: 0.7348 MB / 0.5909 GB, free: 13.32 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7422, allocations: 0 / 0.5909 GB, free: 13.32 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat