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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.001397/0.001397, allocations: 181.2 kB / 8.516 MB, free: 1.852 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.149/1.149, allocations: 221.4 MB / 230.3 MB, free: 7.609 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.0008725/0.0008725, allocations: 82.61 kB / 281.2 MB, free: 5.449 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.1565/0.1565, allocations: 44.15 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1766/0.3332, allocations: 68.06 MB / 444.2 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.4341, allocations: 61.9 MB / 0.4942 GB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2658/0.7, allocations: 89.16 MB / 0.5813 GB, free: 7.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.7003, allocations: 95.77 kB / 0.5814 GB, free: 7.41 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5404:11-5405:129: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:5412:11-5413:123: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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0133/0.7136, allocations: 4.458 MB / 0.5857 GB, free: 2.926 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.7136, allocations: 8 kB / 0.5857 GB, free: 2.918 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007305/0.7144, allocations: 99.69 kB / 0.5858 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.7146, allocations: 214.9 kB / 0.586 GB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.7146, allocations: 4 kB / 0.586 GB, free: 2.566 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.7146, allocations: 16.73 kB / 0.586 GB, free: 2.551 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003195/0.715, allocations: 207.7 kB / 0.5862 GB, free: 2.348 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.7153, allocations: 201.5 kB / 0.5864 GB, free: 2.145 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.7153, allocations: 0 / 0.5864 GB, free: 2.145 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.7153, allocations: 0 / 0.5864 GB, free: 2.145 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.7153, allocations: 15.98 kB / 0.5865 GB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.7164, allocations: 0.694 MB / 0.5871 GB, free: 1.355 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.7165, allocations: 74.53 kB / 0.5872 GB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/0.7166, allocations: 38.16 kB / 0.5872 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.7166, allocations: 7.922 kB / 0.5872 GB, free: 1.227 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.7166, allocations: 30.56 kB / 0.5873 GB, free: 1.188 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.7166, allocations: 0 / 0.5873 GB, free: 1.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002312/0.7169, allocations: 105.5 kB / 0.5874 GB, free: 1.078 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.7169, allocations: 55.41 kB / 0.5874 GB, free: 1.012 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.77e-05/0.717, allocations: 124.2 kB / 0.5875 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.717, allocations: 25.7 kB / 0.5876 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.7171, allocations: 143.7 kB / 0.5877 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.7171, allocations: 23.66 kB / 0.5877 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-06/0.7171, allocations: 0 / 0.5877 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.7172, allocations: 322.8 kB / 0.588 GB, free: 372 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.859e-05/0.7173, allocations: 31.97 kB / 0.5881 GB, free: 340 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.475e-05/0.7174, allocations: 90.84 kB / 0.5882 GB, free: 224 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.638e-05/0.7175, allocations: 51.89 kB / 0.5882 GB, free: 172 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7175, allocations: 0 / 0.5882 GB, free: 172 kB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000232/0.7177, allocations: 149.4 kB / 0.5883 GB, free: 16 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.7177, allocations: 4 kB / 0.5883 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.7177, allocations: 4 kB / 0.5884 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.7178, allocations: 4 kB / 0.5884 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000971/0.7187, allocations: 108.1 kB / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.7202, allocations: 1.852 MB / 0.5903 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.7204, allocations: 23.89 kB / 0.5903 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.7204, allocations: 8 kB / 0.5903 GB, free: 13.95 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 (14): * Single equations (assignments): 11 * 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 8.832e-05/0.7205, allocations: 108.9 kB / 0.5904 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.7206, allocations: 7.906 kB / 0.5904 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.7209, allocations: 165.8 kB / 0.5906 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.7209, allocations: 4 kB / 0.5906 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.7209, allocations: 0 / 0.5906 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7209, allocations: 0 / 0.5906 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.7212, allocations: 194.1 kB / 0.5908 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7212, allocations: 0 / 0.5908 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007707/0.722, allocations: 95.89 kB / 0.5908 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.722, allocations: 0 / 0.5908 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.722, allocations: 4 kB / 0.5909 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.7231, allocations: 1.789 MB / 0.5926 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7231, allocations: 3.984 kB / 0.5926 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002327/0.7233, allocations: 215.5 kB / 0.5928 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003183/0.7236, allocations: 0.5779 MB / 0.5934 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.7237, allocations: 88.92 kB / 0.5935 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.7237, allocations: 0 / 0.5935 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.7239, allocations: 19.92 kB / 0.5935 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.7239, allocations: 3.984 kB / 0.5935 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.724, allocations: 12 kB / 0.5935 GB, free: 10.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.676e-05/0.724, allocations: 103.2 kB / 0.5936 GB, free: 10.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000873/0.7249, allocations: 47.84 kB / 0.5936 GB, free: 10.35 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 (11): * Single equations (assignments): 8 * 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.0001826/0.7251, allocations: 129.2 kB / 0.5938 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.7263, allocations: 179.9 kB / 0.5939 GB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7263, allocations: 0 / 0.5939 GB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000788/0.7271, allocations: 100.1 kB / 0.594 GB, free: 9.941 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.7274, allocations: 19.89 kB / 0.594 GB, free: 9.922 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004933/0.7279, allocations: 219.1 kB / 0.5943 GB, free: 9.684 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/0.7282, allocations: 0.7699 MB / 0.595 GB, free: 8.887 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7282, allocations: 0 / 0.595 GB, free: 8.887 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat