Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009763/0.0009766, allocations: 178.1 kB / 8.522 MB, free: 1.828 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.157/1.157, allocations: 221.4 MB / 230.3 MB, free: 7.77 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.000923/0.0009232, allocations: 84.75 kB / 281.2 MB, free: 5.535 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.1899/0.1899, allocations: 44.15 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1838/0.3738, allocations: 68.05 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.4751, allocations: 61.91 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2595/0.7346, allocations: 101.9 MB / 0.5937 GB, free: 10.87 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.735, allocations: 98.67 kB / 0.5938 GB, free: 10.78 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4562:11-4565: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 4.0.0+maint.om/Fluid/Dissipation.mo:4589:11-4592: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 4.0.0+maint.om/Fluid/Dissipation.mo:4549:11-4552: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 4.0.0+maint.om/Fluid/Dissipation.mo:4576:11-4579: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.07424/0.8092, allocations: 23.12 MB / 0.6163 GB, free: 3.465 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.8093, allocations: 11.94 kB / 0.6164 GB, free: 3.453 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.946e-05/0.8094, allocations: 39.53 kB / 0.6164 GB, free: 3.414 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.8098, allocations: 262.5 kB / 0.6166 GB, free: 3.117 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.8099, allocations: 16 kB / 0.6167 GB, free: 3.102 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.266e-05/0.8099, allocations: 23.91 kB / 0.6167 GB, free: 3.078 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006154/0.8105, allocations: 461.5 kB / 0.6171 GB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.8112, allocations: 435.3 kB / 0.6175 GB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.8112, allocations: 0 / 0.6175 GB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.8112, allocations: 0 / 0.6175 GB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-05/0.8113, allocations: 48.95 kB / 0.6176 GB, free: 2.148 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.8131, allocations: 1.234 MB / 0.6188 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006896/0.8138, allocations: 354.5 kB / 0.6191 GB, free: 464 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.814, allocations: 108.8 kB / 0.6192 GB, free: 352 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.906e-05/0.8141, allocations: 16.41 kB / 0.6192 GB, free: 336 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.8141, allocations: 34.56 kB / 0.6193 GB, free: 292 kB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 2.525e-06/0.8141, allocations: 0 / 0.6193 GB, free: 292 kB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005897/0.8147, allocations: 277.2 kB / 0.6195 GB, free: 8 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.8148, allocations: 59.39 kB / 0.6196 GB, free: 15.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.815, allocations: 157.2 kB / 0.6198 GB, free: 15.78 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.8151, allocations: 25.7 kB / 0.6198 GB, free: 15.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.8152, allocations: 211.8 kB / 0.62 GB, free: 15.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.088e-05/0.8153, allocations: 90.66 kB / 0.6201 GB, free: 15.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/0.8153, allocations: 0 / 0.6201 GB, free: 15.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.8155, allocations: 326.9 kB / 0.6204 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.8157, allocations: 111.9 kB / 0.6205 GB, free: 15.01 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.8159, allocations: 138.6 kB / 0.6206 GB, free: 14.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.8161, allocations: 137.3 kB / 0.6207 GB, free: 14.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.8161, allocations: 4 kB / 0.6208 GB, free: 14.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005393/0.8167, allocations: 323.4 kB / 0.6211 GB, free: 14.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.8167, allocations: 4 kB / 0.6211 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.8167, allocations: 7.984 kB / 0.6211 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.8167, allocations: 0 / 0.6211 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.8174, allocations: 123.8 kB / 0.6212 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.8192, allocations: 3.043 MB / 0.6242 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.8195, allocations: 35.98 kB / 0.6242 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.8195, allocations: 19.92 kB / 0.6242 GB, free: 11.05 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.0001089/0.8196, allocations: 104.9 kB / 0.6243 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/0.8197, allocations: 19.72 kB / 0.6243 GB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009253/0.8206, allocations: 461.6 kB / 0.6248 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.8207, allocations: 4 kB / 0.6248 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.8207, allocations: 0 / 0.6248 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.8207, allocations: 3.984 kB / 0.6248 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.8211, allocations: 321.8 kB / 0.6251 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.8211, allocations: 0 / 0.6251 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.8217, allocations: 119.8 kB / 0.6252 GB, free: 9.992 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.8217, allocations: 4 kB / 0.6252 GB, free: 9.988 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.8217, allocations: 4 kB / 0.6252 GB, free: 9.984 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.8232, allocations: 3.039 MB / 0.6282 GB, free: 6.828 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.8232, allocations: 0 / 0.6282 GB, free: 6.828 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004959/0.8237, allocations: 407.3 kB / 0.6286 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006225/0.8244, allocations: 0.7691 MB / 0.6293 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.8245, allocations: 104.9 kB / 0.6294 GB, free: 5.504 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.8245, allocations: 0 / 0.6294 GB, free: 5.504 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.8247, allocations: 7.984 kB / 0.6294 GB, free: 5.496 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.8248, allocations: 19.97 kB / 0.6294 GB, free: 5.477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.8248, allocations: 19.98 kB / 0.6295 GB, free: 5.457 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.523e-05/0.8249, allocations: 128.2 kB / 0.6296 GB, free: 5.332 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001386/0.8263, allocations: 223.4 kB / 0.6298 GB, free: 5.113 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.0007134/0.827, allocations: 276.8 kB / 0.6301 GB, free: 4.836 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009/0.828, allocations: 343.6 kB / 0.6304 GB, free: 4.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.828, allocations: 0 / 0.6304 GB, free: 4.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006512/0.8286, allocations: 211.7 kB / 0.6306 GB, free: 4.293 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.8289, allocations: 11.91 kB / 0.6306 GB, free: 4.281 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009849/0.8299, allocations: 489.4 kB / 0.6311 GB, free: 3.773 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005588/0.8304, allocations: 0.8878 MB / 0.6319 GB, free: 2.859 MB / 442.7 MB Notification: Performance of SimCode: time 2.91e-07/0.8304, allocations: 4 kB / 0.6319 GB, free: 2.855 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat