Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.002394/0.002394, allocations: 188.5 kB / 7.803 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.418/1.418, 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.0009203/0.0009204, allocations: 87.41 kB / 261.4 MB, free: 13.62 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.201/0.201, allocations: 43.49 MB / 352.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2123/0.4133, allocations: 64.99 MB / 417.8 MB, free: 40.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.7514, allocations: 58.83 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.9081, allocations: 100.7 MB / 0.5639 GB, free: 14.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004021/0.9086, allocations: 95.92 kB / 0.564 GB, free: 14.06 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0782/0.9868, allocations: 22.74 MB / 0.5862 GB, free: 7.117 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.9869, allocations: 8 kB / 0.5862 GB, free: 7.109 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.9871, allocations: 39.53 kB / 0.5862 GB, free: 7.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.9876, allocations: 266.4 kB / 0.5865 GB, free: 6.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.9877, allocations: 15.91 kB / 0.5865 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.027e-05/0.9877, allocations: 20 kB / 0.5865 GB, free: 6.734 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007627/0.9885, allocations: 453.5 kB / 0.5869 GB, free: 6.293 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008139/0.9893, allocations: 447.3 kB / 0.5874 GB, free: 5.848 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.9893, allocations: 0 / 0.5874 GB, free: 5.848 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.9894, allocations: 0 / 0.5874 GB, free: 5.848 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.972e-05/0.9895, allocations: 44.95 kB / 0.5874 GB, free: 5.805 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.9917, allocations: 1.242 MB / 0.5886 GB, free: 4.461 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007353/0.9925, allocations: 361.7 kB / 0.589 GB, free: 4.098 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.9927, allocations: 109.2 kB / 0.5891 GB, free: 3.988 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/0.9927, allocations: 11.92 kB / 0.5891 GB, free: 3.977 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.9928, allocations: 42.56 kB / 0.5891 GB, free: 3.926 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.9928, allocations: 0 / 0.5891 GB, free: 3.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005987/0.9934, allocations: 272.2 kB / 0.5894 GB, free: 3.656 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.9934, allocations: 59.34 kB / 0.5894 GB, free: 3.586 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.9936, allocations: 161.5 kB / 0.5896 GB, free: 3.422 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.9937, allocations: 25.7 kB / 0.5896 GB, free: 3.391 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.9938, allocations: 199.9 kB / 0.5898 GB, free: 3.191 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.344e-05/0.9939, allocations: 86.66 kB / 0.5899 GB, free: 3.105 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.9939, allocations: 4 kB / 0.5899 GB, free: 3.102 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9941, allocations: 330.8 kB / 0.5902 GB, free: 2.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.9942, allocations: 112 kB / 0.5903 GB, free: 2.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.9944, allocations: 143.1 kB / 0.5905 GB, free: 2.508 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.9947, allocations: 129.3 kB / 0.5906 GB, free: 2.383 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.9947, allocations: 0 / 0.5906 GB, free: 2.383 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005574/0.9952, allocations: 339.3 kB / 0.5909 GB, free: 2.047 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.9953, allocations: 4 kB / 0.5909 GB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.9953, allocations: 0 / 0.5909 GB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.9953, allocations: 4 kB / 0.5909 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006252/0.996, allocations: 131.8 kB / 0.591 GB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.9979, allocations: 3.036 MB / 0.594 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.9981, allocations: 31.89 kB / 0.594 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.9982, allocations: 20 kB / 0.594 GB, free: 14.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.9983, allocations: 110.3 kB / 0.5942 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.9984, allocations: 19.72 kB / 0.5942 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000953/0.9994, allocations: 457.6 kB / 0.5946 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.9994, allocations: 8 kB / 0.5946 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.9994, allocations: 0 / 0.5946 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.9994, allocations: 0 / 0.5946 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.9998, allocations: 321.8 kB / 0.5949 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.9998, allocations: 7.984 kB / 0.5949 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/1, allocations: 115.8 kB / 0.595 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/1, allocations: 0 / 0.595 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/1, allocations: 4 kB / 0.595 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/1.002, allocations: 3.039 MB / 0.598 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.002, allocations: 4.031 kB / 0.598 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005428/1.003, allocations: 415.3 kB / 0.5984 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007115/1.004, allocations: 0.769 MB / 0.5992 GB, free: 9.266 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.978e-05/1.004, allocations: 92.86 kB / 0.5993 GB, free: 9.156 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/1.004, allocations: 0 / 0.5993 GB, free: 9.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/1.004, allocations: 15.98 kB / 0.5993 GB, free: 9.141 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/1.004, allocations: 23.97 kB / 0.5993 GB, free: 9.117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/1.004, allocations: 11.98 kB / 0.5993 GB, free: 9.105 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001419/1.004, allocations: 123.3 kB / 0.5994 GB, free: 8.984 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00155/1.006, allocations: 219.4 kB / 0.5996 GB, free: 8.77 MB / 442.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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001224/1.007, allocations: 280.7 kB / 0.5999 GB, free: 8.488 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009779/1.008, allocations: 343.6 kB / 0.6002 GB, free: 8.152 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.008, allocations: 3.938 kB / 0.6002 GB, free: 8.148 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006276/1.009, allocations: 216.4 kB / 0.6004 GB, free: 7.938 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/1.009, allocations: 15.77 kB / 0.6005 GB, free: 7.922 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/1.01, allocations: 477.3 kB / 0.6009 GB, free: 7.422 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000689/1.011, allocations: 0.884 MB / 0.6018 GB, free: 6.512 MB / 442.7 MB Notification: Performance of SimCode: time 2.9e-07/1.011, allocations: 3.938 kB / 0.6018 GB, free: 6.508 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat