Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001117/0.001117, allocations: 179.3 kB / 8.518 MB, free: 1.82 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.144/1.144, allocations: 221.4 MB / 230.3 MB, free: 7.781 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.0009243/0.0009244, allocations: 92.8 kB / 281.2 MB, free: 5.59 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.1584/0.1584, allocations: 44.15 MB / 376.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1835/0.3419, allocations: 68.06 MB / 444.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09674/0.4387, allocations: 61.91 MB / 0.4942 GB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2274/0.6661, allocations: 89.73 MB / 0.5818 GB, free: 6.984 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.6665, allocations: 94.7 kB / 0.5819 GB, free: 6.898 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5503:11-5506:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5514:11-5517:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.02352/0.69, allocations: 7.969 MB / 0.5897 GB, free: 14.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.6901, allocations: 11.94 kB / 0.5897 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007266/0.6908, allocations: 99.64 kB / 0.5898 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.6911, allocations: 222.7 kB / 0.59 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.6911, allocations: 4 kB / 0.59 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.6911, allocations: 8 kB / 0.59 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004339/0.6916, allocations: 291.8 kB / 0.5903 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.692, allocations: 277.3 kB / 0.5906 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.692, allocations: 0 / 0.5906 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.6921, allocations: 3.938 kB / 0.5906 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/0.6921, allocations: 19.98 kB / 0.5906 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.6936, allocations: 0.7913 MB / 0.5914 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.694, allocations: 210.4 kB / 0.5916 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.6941, allocations: 72.84 kB / 0.5916 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.6941, allocations: 4 kB / 0.5916 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.6941, allocations: 38.78 kB / 0.5917 GB, free: 12.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.6941, allocations: 0 / 0.5917 GB, free: 12.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003891/0.6945, allocations: 181.4 kB / 0.5918 GB, free: 12.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.6946, allocations: 55.41 kB / 0.5919 GB, free: 12.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.654e-05/0.6947, allocations: 125.2 kB / 0.592 GB, free: 12.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.6947, allocations: 25.7 kB / 0.592 GB, free: 12.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.6948, allocations: 139.8 kB / 0.5922 GB, free: 12.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.6948, allocations: 35.55 kB / 0.5922 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.6948, allocations: 0 / 0.5922 GB, free: 12.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.695, allocations: 318.8 kB / 0.5925 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.6951, allocations: 79.86 kB / 0.5926 GB, free: 11.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.6952, allocations: 121.3 kB / 0.5927 GB, free: 11.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.6954, allocations: 83.92 kB / 0.5928 GB, free: 11.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6954, allocations: 0 / 0.5928 GB, free: 11.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004118/0.6958, allocations: 225.2 kB / 0.593 GB, free: 11.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6958, allocations: 8 kB / 0.593 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6958, allocations: 0 / 0.593 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.6958, allocations: 4 kB / 0.593 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.6964, allocations: 92 kB / 0.5931 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00096/0.6973, allocations: 1.801 MB / 0.5949 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.6976, allocations: 23.86 kB / 0.5949 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.6976, allocations: 11.98 kB / 0.5949 GB, free: 9.254 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.796e-05/0.6977, allocations: 109 kB / 0.595 GB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.6978, allocations: 11.91 kB / 0.595 GB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004867/0.6983, allocations: 249.9 kB / 0.5952 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.6983, allocations: 4 kB / 0.5953 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6983, allocations: 0 / 0.5953 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6983, allocations: 0 / 0.5953 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.6986, allocations: 230 kB / 0.5955 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6986, allocations: 0 / 0.5955 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.699, allocations: 75.84 kB / 0.5955 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.699, allocations: 0 / 0.5955 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.699, allocations: 12.08 kB / 0.5956 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000873/0.6999, allocations: 1.805 MB / 0.5973 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6999, allocations: 0 / 0.5973 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003432/0.7003, allocations: 279.2 kB / 0.5976 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004495/0.7007, allocations: 0.6522 MB / 0.5982 GB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.7008, allocations: 88.92 kB / 0.5983 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.7009, allocations: 0 / 0.5983 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.7011, allocations: 11.98 kB / 0.5983 GB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.7012, allocations: 19.97 kB / 0.5983 GB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.7012, allocations: 7.984 kB / 0.5983 GB, free: 5.543 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.384e-05/0.7013, allocations: 103.3 kB / 0.5984 GB, free: 5.441 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009753/0.7022, allocations: 71.77 kB / 0.5985 GB, free: 5.371 MB / 410.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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002881/0.7025, allocations: 143.2 kB / 0.5986 GB, free: 5.219 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005327/0.7031, allocations: 211.7 kB / 0.5989 GB, free: 5.012 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7031, allocations: 4 kB / 0.5989 GB, free: 5.008 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003544/0.7035, allocations: 116.2 kB / 0.599 GB, free: 4.895 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.7036, allocations: 15.97 kB / 0.599 GB, free: 4.879 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000567/0.7042, allocations: 259.8 kB / 0.5992 GB, free: 4.602 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004312/0.7047, allocations: 0.7885 MB / 0.6 GB, free: 3.789 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7047, allocations: 0 / 0.6 GB, free: 3.789 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat