Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001027/0.001027, allocations: 202.3 kB / 8.536 MB, free: 1.66 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.179/1.179, allocations: 225.5 MB / 234.4 MB, free: 3.418 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000861/0.000861, allocations: 94.06 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1707/0.1707, allocations: 45.14 MB / 383.3 MB, free: 0.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1984/0.3691, allocations: 69.39 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09094/0.4601, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2725/0.7326, allocations: 103.9 MB / 0.6054 GB, free: 14.99 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.7329, allocations: 99.47 kB / 0.6055 GB, free: 14.94 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6002:11-6008:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6010:11-6013: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 trunk/Fluid/Dissipation.mo:6016:11-6022:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6024:11-6027: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.05435/0.7873, allocations: 18.39 MB / 0.6234 GB, free: 15.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.7874, allocations: 8 kB / 0.6235 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.249e-05/0.7874, allocations: 31.62 kB / 0.6235 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.7878, allocations: 241.5 kB / 0.6237 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.7878, allocations: 11.94 kB / 0.6237 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.7878, allocations: 16 kB / 0.6237 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005465/0.7884, allocations: 409.7 kB / 0.6241 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.7889, allocations: 411.1 kB / 0.6245 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.7889, allocations: 0 / 0.6245 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.789, allocations: 4 kB / 0.6245 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.789, allocations: 40.25 kB / 0.6246 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.7908, allocations: 1.287 MB / 0.6258 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.7913, allocations: 264.7 kB / 0.6261 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.7914, allocations: 84.14 kB / 0.6262 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.7915, allocations: 12.36 kB / 0.6262 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.7915, allocations: 30.56 kB / 0.6262 GB, free: 12.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.233e-06/0.7915, allocations: 0 / 0.6262 GB, free: 12.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.000417/0.7919, allocations: 219.4 kB / 0.6264 GB, free: 12.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.792, allocations: 55.41 kB / 0.6265 GB, free: 12.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.7921, allocations: 129.6 kB / 0.6266 GB, free: 12.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.7921, allocations: 25.7 kB / 0.6266 GB, free: 12.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.892e-05/0.7922, allocations: 190.8 kB / 0.6268 GB, free: 12.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.7923, allocations: 80.77 kB / 0.6269 GB, free: 12.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.7923, allocations: 0 / 0.6269 GB, free: 12.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.7924, allocations: 333.6 kB / 0.6272 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.7925, allocations: 70.03 kB / 0.6273 GB, free: 11.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.7927, allocations: 159.7 kB / 0.6274 GB, free: 11.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.7928, allocations: 99.42 kB / 0.6275 GB, free: 11.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7928, allocations: 0 / 0.6275 GB, free: 11.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004049/0.7932, allocations: 269.2 kB / 0.6278 GB, free: 11.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.7933, allocations: 11.91 kB / 0.6278 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.7933, allocations: 4.281 kB / 0.6278 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.7933, allocations: 12 kB / 0.6278 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006032/0.7939, allocations: 131.1 kB / 0.6279 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.7952, allocations: 2.388 MB / 0.6302 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.7954, allocations: 23.75 kB / 0.6303 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.7954, allocations: 23.66 kB / 0.6303 GB, free: 8.473 MB / 426.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 9.112e-05/0.7955, allocations: 112.8 kB / 0.6304 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.7955, allocations: 15.81 kB / 0.6304 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007688/0.7963, allocations: 371.5 kB / 0.6308 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.7963, allocations: 4 kB / 0.6308 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7963, allocations: 0 / 0.6308 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.7964, allocations: 3.984 kB / 0.6308 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.7967, allocations: 273.8 kB / 0.631 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7967, allocations: 3.938 kB / 0.631 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005347/0.7972, allocations: 127.5 kB / 0.6312 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.7972, allocations: 0 / 0.6312 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.7973, allocations: 11.89 kB / 0.6312 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.7985, allocations: 2.374 MB / 0.6335 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7986, allocations: 0 / 0.6335 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003967/0.799, allocations: 341.5 kB / 0.6338 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000554/0.7995, allocations: 0.7083 MB / 0.6345 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.7996, allocations: 96.95 kB / 0.6346 GB, free: 4.043 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.7996, allocations: 3.906 kB / 0.6346 GB, free: 4.039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.7998, allocations: 11.98 kB / 0.6346 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.7999, allocations: 18.78 kB / 0.6346 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.7999, allocations: 11.98 kB / 0.6346 GB, free: 4 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.35e-05/0.8, allocations: 92.78 kB / 0.6347 GB, free: 3.914 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001546/0.8015, allocations: 299.5 kB / 0.635 GB, free: 3.656 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.0007367/0.8022, allocations: 417.1 kB / 0.6354 GB, free: 3.246 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006127/0.8029, allocations: 260.8 kB / 0.6357 GB, free: 3.023 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8029, allocations: 4 kB / 0.6357 GB, free: 3.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004199/0.8033, allocations: 164.2 kB / 0.6358 GB, free: 2.879 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.8035, allocations: 3.438 kB / 0.6358 GB, free: 2.879 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007449/0.8043, allocations: 395.6 kB / 0.6362 GB, free: 2.488 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004302/0.8047, allocations: 0.8394 MB / 0.637 GB, free: 1.629 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/0.8047, allocations: 0 / 0.637 GB, free: 1.629 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat