Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001808/0.001808, allocations: 202.3 kB / 8.541 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.197/1.197, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008837/0.0008838, allocations: 97.38 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1795/0.1795, allocations: 45.15 MB / 383.4 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1972/0.3768, allocations: 69.39 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07972/0.4565, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2708/0.7273, allocations: 102.9 MB / 0.6044 GB, free: 188 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.7276, allocations: 103.7 kB / 0.6045 GB, free: 128 kB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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 trunk/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 trunk/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.07236/0.8, allocations: 23.25 MB / 0.6272 GB, free: 12.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.8, allocations: 12 kB / 0.6272 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.8001, allocations: 31.62 kB / 0.6272 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.8005, allocations: 274.7 kB / 0.6275 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.8005, allocations: 11.91 kB / 0.6275 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.8005, allocations: 20 kB / 0.6275 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006258/0.8012, allocations: 452.9 kB / 0.628 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00063/0.8018, allocations: 443.6 kB / 0.6284 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.8018, allocations: 4 kB / 0.6284 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.8019, allocations: 0 / 0.6284 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.8019, allocations: 48.03 kB / 0.6284 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.8038, allocations: 1.239 MB / 0.6296 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000645/0.8044, allocations: 353 kB / 0.63 GB, free: 9.762 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.8046, allocations: 109.3 kB / 0.6301 GB, free: 9.672 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.8046, allocations: 12.23 kB / 0.6301 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.8047, allocations: 30.56 kB / 0.6301 GB, free: 9.625 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.8047, allocations: 7.938 kB / 0.6301 GB, free: 9.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.00056/0.8052, allocations: 278.5 kB / 0.6304 GB, free: 9.375 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.8053, allocations: 55.41 kB / 0.6305 GB, free: 9.309 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.8054, allocations: 163.1 kB / 0.6306 GB, free: 9.156 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.8055, allocations: 29.64 kB / 0.6306 GB, free: 9.121 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.8056, allocations: 205.4 kB / 0.6308 GB, free: 8.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.765e-05/0.8057, allocations: 85.42 kB / 0.6309 GB, free: 8.855 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/0.8057, allocations: 0 / 0.6309 GB, free: 8.855 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.8058, allocations: 337.3 kB / 0.6312 GB, free: 8.527 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.806, allocations: 103.6 kB / 0.6313 GB, free: 8.445 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.8062, allocations: 138.2 kB / 0.6315 GB, free: 8.324 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.8064, allocations: 139.6 kB / 0.6316 GB, free: 8.211 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8064, allocations: 0 / 0.6316 GB, free: 8.211 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005112/0.8069, allocations: 321.2 kB / 0.6319 GB, free: 7.934 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.8069, allocations: 8.062 kB / 0.6319 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.8069, allocations: 4 kB / 0.6319 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.8069, allocations: 0 / 0.6319 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.8076, allocations: 123.7 kB / 0.632 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.8092, allocations: 3.042 MB / 0.635 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.8094, allocations: 35.55 kB / 0.635 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.8095, allocations: 19.92 kB / 0.6351 GB, free: 4.625 MB / 426.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.0001103/0.8096, allocations: 105.2 kB / 0.6352 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.8096, allocations: 23.66 kB / 0.6352 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009198/0.8106, allocations: 455.3 kB / 0.6356 GB, free: 4.102 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.8106, allocations: 4 kB / 0.6356 GB, free: 4.098 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8106, allocations: 0 / 0.6356 GB, free: 4.098 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.8106, allocations: 11.89 kB / 0.6356 GB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.811, allocations: 316.7 kB / 0.6359 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8111, allocations: 0 / 0.6359 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.8116, allocations: 115.5 kB / 0.636 GB, free: 3.664 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.8117, allocations: 4 kB / 0.636 GB, free: 3.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.8117, allocations: 7.984 kB / 0.6361 GB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/0.8134, allocations: 3.042 MB / 0.639 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.8134, allocations: 3.938 kB / 0.639 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005031/0.8139, allocations: 404.3 kB / 0.6394 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006554/0.8146, allocations: 0.7796 MB / 0.6402 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.119e-05/0.8147, allocations: 100.8 kB / 0.6403 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.8147, allocations: 0 / 0.6403 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.8149, allocations: 15.98 kB / 0.6403 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.815, allocations: 15.97 kB / 0.6403 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.815, allocations: 15.92 kB / 0.6403 GB, free: 15.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001001/0.8151, allocations: 130.6 kB / 0.6404 GB, free: 15.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001397/0.8165, allocations: 242 kB / 0.6407 GB, free: 14.92 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.000722/0.8173, allocations: 300.6 kB / 0.641 GB, free: 14.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008522/0.8181, allocations: 329.2 kB / 0.6413 GB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8181, allocations: 0 / 0.6413 GB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006129/0.8188, allocations: 226.6 kB / 0.6415 GB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.819, allocations: 15.7 kB / 0.6415 GB, free: 14.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009626/0.82, allocations: 486.5 kB / 0.642 GB, free: 13.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/0.8205, allocations: 0.8833 MB / 0.6428 GB, free: 12.76 MB / 442.7 MB Notification: Performance of SimCode: time 3.61e-07/0.8205, allocations: 0 / 0.6428 GB, free: 12.76 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat