Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001522/0.001522, allocations: 210.2 kB / 8.54 MB, free: 2.641 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.168/1.168, allocations: 225.5 MB / 234.4 MB, free: 3.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009477/0.0009476, allocations: 88.72 kB / 286.4 MB, free: 0.4922 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2751/0.2751, allocations: 45.14 MB / 383.3 MB, free: 43.1 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1094/0.3846, allocations: 69.4 MB / 452.7 MB, free: 8.691 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.6557, allocations: 63.24 MB / 0.5039 GB, free: 41.53 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.7581, allocations: 90.22 MB / 0.592 GB, free: 7.738 MB / 414.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.7584, allocations: 100.5 kB / 0.5921 GB, free: 7.645 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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.01346/0.7719, allocations: 4.514 MB / 0.5965 GB, free: 3.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.7719, allocations: 12 kB / 0.5965 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007356/0.7727, allocations: 99.69 kB / 0.5966 GB, free: 2.992 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.7729, allocations: 214.8 kB / 0.5968 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.7729, allocations: 11.91 kB / 0.5968 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.773, allocations: 8 kB / 0.5968 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003328/0.7733, allocations: 207.8 kB / 0.597 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.7736, allocations: 197.5 kB / 0.5972 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.7736, allocations: 0 / 0.5972 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.7737, allocations: 0 / 0.5972 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.7737, allocations: 19.98 kB / 0.5972 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.7747, allocations: 0.6906 MB / 0.5979 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.7749, allocations: 77.02 kB / 0.598 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.775, allocations: 32.84 kB / 0.598 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.775, allocations: 0 / 0.598 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.775, allocations: 38.5 kB / 0.598 GB, free: 1.367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.775, allocations: 4 kB / 0.598 GB, free: 1.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002493/0.7753, allocations: 97.55 kB / 0.5981 GB, free: 1.262 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.7753, allocations: 55.41 kB / 0.5982 GB, free: 1.195 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.991e-05/0.7754, allocations: 126.9 kB / 0.5983 GB, free: 1.066 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.7755, allocations: 25.7 kB / 0.5983 GB, free: 1.035 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.7755, allocations: 143.8 kB / 0.5985 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.7756, allocations: 23.66 kB / 0.5985 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.7756, allocations: 0 / 0.5985 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.7757, allocations: 318.8 kB / 0.5988 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.301e-05/0.7758, allocations: 39.97 kB / 0.5988 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.222e-05/0.7759, allocations: 80.25 kB / 0.5989 GB, free: 416 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.436e-05/0.7759, allocations: 63.88 kB / 0.599 GB, free: 352 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.7759, allocations: 0 / 0.599 GB, free: 352 kB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000233/0.7762, allocations: 145.5 kB / 0.5991 GB, free: 200 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.7762, allocations: 6.031 kB / 0.5991 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.7762, allocations: 0 / 0.5991 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.7762, allocations: 4.219 kB / 0.5991 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00093/0.7772, allocations: 115.8 kB / 0.5992 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.7787, allocations: 1.852 MB / 0.601 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.7788, allocations: 23.86 kB / 0.6011 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.7788, allocations: 8 kB / 0.6011 GB, free: 14.12 MB / 430.1 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.799e-05/0.7789, allocations: 112.9 kB / 0.6012 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.779, allocations: 12 kB / 0.6012 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/0.7794, allocations: 158.5 kB / 0.6013 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.7794, allocations: 0 / 0.6013 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.7794, allocations: 0 / 0.6013 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7794, allocations: 3.938 kB / 0.6014 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.7796, allocations: 206 kB / 0.6015 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7796, allocations: 0 / 0.6015 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007611/0.7804, allocations: 95.89 kB / 0.6016 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.7804, allocations: 0 / 0.6016 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.7804, allocations: 4 kB / 0.6016 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000991/0.7814, allocations: 1.789 MB / 0.6034 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7814, allocations: 4.281 kB / 0.6034 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000219/0.7817, allocations: 216.8 kB / 0.6036 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000327/0.782, allocations: 0.574 MB / 0.6042 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.7821, allocations: 88.92 kB / 0.6042 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.7821, allocations: 0 / 0.6042 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.7823, allocations: 15.98 kB / 0.6043 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.7823, allocations: 7.984 kB / 0.6043 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.7823, allocations: 3.938 kB / 0.6043 GB, free: 10.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.757e-05/0.7824, allocations: 106.2 kB / 0.6044 GB, free: 10.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008876/0.7833, allocations: 51.84 kB / 0.6044 GB, free: 10.52 MB / 430.1 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.0002059/0.7835, allocations: 125.5 kB / 0.6045 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.7847, allocations: 169.7 kB / 0.6047 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.7847, allocations: 448 / 0.6047 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007691/0.7855, allocations: 111.8 kB / 0.6048 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.7857, allocations: 15.89 kB / 0.6048 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.7863, allocations: 213.9 kB / 0.605 GB, free: 9.875 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/0.7866, allocations: 0.7711 MB / 0.6058 GB, free: 9.074 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.7866, allocations: 0 / 0.6058 GB, free: 9.074 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat