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_overall_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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009722/0.0009722, allocations: 173.8 kB / 8.515 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.166/1.166, 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.0008468/0.0008468, allocations: 88.67 kB / 281.2 MB, free: 5.527 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.1648/0.1648, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1831/0.348, allocations: 68.05 MB / 444.2 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.4489, allocations: 61.91 MB / 0.4942 GB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2734/0.7224, allocations: 102.9 MB / 0.5947 GB, free: 9.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.7226, allocations: 99.75 kB / 0.5948 GB, free: 9.727 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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.05478/0.7774, allocations: 18.5 MB / 0.6128 GB, free: 7.082 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.7775, allocations: 11.94 kB / 0.6128 GB, free: 7.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.7776, allocations: 31.62 kB / 0.6129 GB, free: 7.039 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.7778, allocations: 242.6 kB / 0.6131 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.7779, allocations: 8 kB / 0.6131 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.7779, allocations: 19.91 kB / 0.6131 GB, free: 6.734 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005555/0.7785, allocations: 413.2 kB / 0.6135 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005753/0.7791, allocations: 405.4 kB / 0.6139 GB, free: 5.934 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.7791, allocations: 0 / 0.6139 GB, free: 5.934 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.7791, allocations: 4 kB / 0.6139 GB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.687e-05/0.7792, allocations: 40.75 kB / 0.6139 GB, free: 5.891 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.781, allocations: 1.286 MB / 0.6152 GB, free: 4.492 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.7815, allocations: 258.5 kB / 0.6154 GB, free: 4.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.7817, allocations: 84.81 kB / 0.6155 GB, free: 4.145 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.7817, allocations: 8 kB / 0.6155 GB, free: 4.137 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.7817, allocations: 38.5 kB / 0.6156 GB, free: 4.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.7817, allocations: 0 / 0.6156 GB, free: 4.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.000427/0.7822, allocations: 217.7 kB / 0.6158 GB, free: 3.871 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.7822, allocations: 55.41 kB / 0.6158 GB, free: 3.805 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.7823, allocations: 121.3 kB / 0.6159 GB, free: 3.676 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.7824, allocations: 25.7 kB / 0.616 GB, free: 3.645 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.7825, allocations: 195.7 kB / 0.6162 GB, free: 3.445 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.248e-05/0.7825, allocations: 82.75 kB / 0.6162 GB, free: 3.363 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.311e-05/0.7826, allocations: 0 / 0.6162 GB, free: 3.363 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.7827, allocations: 330.8 kB / 0.6166 GB, free: 3.031 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.7828, allocations: 75.77 kB / 0.6166 GB, free: 2.957 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.783, allocations: 154.1 kB / 0.6168 GB, free: 2.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.7831, allocations: 107.8 kB / 0.6169 GB, free: 2.664 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7831, allocations: 0 / 0.6169 GB, free: 2.664 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004142/0.7836, allocations: 265.2 kB / 0.6171 GB, free: 2.398 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.7836, allocations: 8 kB / 0.6171 GB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.7836, allocations: 0 / 0.6171 GB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7836, allocations: 11.91 kB / 0.6171 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006445/0.7843, allocations: 136.2 kB / 0.6173 GB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.7856, allocations: 2.383 MB / 0.6196 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.7858, allocations: 31.97 kB / 0.6196 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.7858, allocations: 15.98 kB / 0.6196 GB, free: 15.72 MB / 442.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 0.0001039/0.7859, allocations: 112.9 kB / 0.6198 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.786, allocations: 19.8 kB / 0.6198 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008097/0.7868, allocations: 371.1 kB / 0.6201 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.7868, allocations: 7.906 kB / 0.6201 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7868, allocations: 0 / 0.6201 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.7868, allocations: 3.984 kB / 0.6201 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.7871, allocations: 274.3 kB / 0.6204 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7871, allocations: 0 / 0.6204 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/0.7877, allocations: 119.8 kB / 0.6205 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.7877, allocations: 0 / 0.6205 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.7877, allocations: 7.984 kB / 0.6205 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.7889, allocations: 2.375 MB / 0.6228 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7889, allocations: 0 / 0.6228 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003856/0.7893, allocations: 343.5 kB / 0.6232 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005344/0.7898, allocations: 0.7069 MB / 0.6239 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.7899, allocations: 92.86 kB / 0.6239 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.7899, allocations: 0 / 0.6239 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.7901, allocations: 15.98 kB / 0.624 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.7902, allocations: 19.88 kB / 0.624 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.7902, allocations: 15.98 kB / 0.624 GB, free: 11.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.169e-05/0.7903, allocations: 98.17 kB / 0.6241 GB, free: 10.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001377/0.7917, allocations: 271.3 kB / 0.6244 GB, free: 10.71 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 (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.0007391/0.7924, allocations: 389 kB / 0.6247 GB, free: 10.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006499/0.7931, allocations: 268.3 kB / 0.625 GB, free: 10.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7931, allocations: 0 / 0.625 GB, free: 10.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.7935, allocations: 164.5 kB / 0.6251 GB, free: 9.902 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.7937, allocations: 7.984 kB / 0.6251 GB, free: 9.895 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007794/0.7945, allocations: 404.3 kB / 0.6255 GB, free: 9.473 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004449/0.795, allocations: 0.8409 MB / 0.6263 GB, free: 8.605 MB / 442.7 MB Notification: Performance of SimCode: time 2.91e-07/0.795, allocations: 4 kB / 0.6264 GB, free: 8.602 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat