Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 187.9 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009586/0.0009585, allocations: 87.7 kB / 261.4 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2325/0.2325, allocations: 43.49 MB / 352.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2375/0.4701, allocations: 64.98 MB / 417.8 MB, free: 40.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.8478, allocations: 58.84 MB / 476.7 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.9815, allocations: 88.06 MB / 0.5515 GB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.9818, allocations: 97.56 kB / 0.5516 GB, free: 10.73 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5488:11-5489: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 3.2.3+maint.om/Fluid/Dissipation.mo:5496:11-5497: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.01407/0.9959, allocations: 4.368 MB / 0.5559 GB, free: 6.316 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.996, allocations: 8 kB / 0.5559 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007913/0.9968, allocations: 95.69 kB / 0.556 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.9972, allocations: 210.9 kB / 0.5562 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.9972, allocations: 11.89 kB / 0.5562 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.9973, allocations: 8 kB / 0.5562 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004056/0.9977, allocations: 207.9 kB / 0.5564 GB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.998, allocations: 201.3 kB / 0.5566 GB, free: 5.543 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.9981, allocations: 0 / 0.5566 GB, free: 5.543 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.9981, allocations: 4 kB / 0.5566 GB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.489e-05/0.9981, allocations: 11.98 kB / 0.5566 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.9995, allocations: 0.6863 MB / 0.5573 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.9996, allocations: 82.41 kB / 0.5573 GB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.966e-05/0.9997, allocations: 36.84 kB / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.9997, allocations: 4.141 kB / 0.5574 GB, free: 4.629 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.9998, allocations: 30.56 kB / 0.5574 GB, free: 4.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.9998, allocations: 0 / 0.5574 GB, free: 4.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000303/1, allocations: 101.5 kB / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/1, allocations: 59.33 kB / 0.5576 GB, free: 4.414 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/1, allocations: 121.3 kB / 0.5577 GB, free: 4.289 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/1, allocations: 25.7 kB / 0.5577 GB, free: 4.258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/1, allocations: 147.7 kB / 0.5578 GB, free: 4.109 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/1.001, allocations: 23.64 kB / 0.5579 GB, free: 4.086 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/1.001, allocations: 3.938 kB / 0.5579 GB, free: 4.082 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/1.001, allocations: 318.8 kB / 0.5582 GB, free: 3.762 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/1.001, allocations: 35.97 kB / 0.5582 GB, free: 3.727 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/1.001, allocations: 82.84 kB / 0.5583 GB, free: 3.621 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.933e-05/1.001, allocations: 51.95 kB / 0.5583 GB, free: 3.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.001, allocations: 4 kB / 0.5583 GB, free: 3.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002642/1.001, allocations: 141.6 kB / 0.5585 GB, free: 3.422 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.001, allocations: 8 kB / 0.5585 GB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/1.001, allocations: 4.156 kB / 0.5585 GB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.001, allocations: 7.984 kB / 0.5585 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009994/1.002, allocations: 103.8 kB / 0.5586 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/1.004, allocations: 1.856 MB / 0.5604 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/1.004, allocations: 19.83 kB / 0.5604 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/1.004, allocations: 12.19 kB / 0.5604 GB, free: 1.344 MB / 394.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 0.0001245/1.004, allocations: 118 kB / 0.5605 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/1.004, allocations: 7.906 kB / 0.5605 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003696/1.005, allocations: 150 kB / 0.5607 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/1.005, allocations: 4 kB / 0.5607 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.005, allocations: 4 kB / 0.5607 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.005, allocations: 0 / 0.5607 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/1.005, allocations: 202.1 kB / 0.5609 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.005, allocations: 0 / 0.5609 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007647/1.006, allocations: 92.95 kB / 0.561 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/1.006, allocations: 3.984 kB / 0.561 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/1.006, allocations: 8 kB / 0.561 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/1.007, allocations: 1.793 MB / 0.5627 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.007, allocations: 4.031 kB / 0.5627 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002536/1.007, allocations: 203.3 kB / 0.5629 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004024/1.008, allocations: 0.578 MB / 0.5635 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/1.008, allocations: 92.86 kB / 0.5636 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/1.008, allocations: 0 / 0.5636 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/1.008, allocations: 15.92 kB / 0.5636 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/1.008, allocations: 11.98 kB / 0.5636 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/1.008, allocations: 0 / 0.5636 GB, free: 13.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.322e-05/1.008, allocations: 108.1 kB / 0.5637 GB, free: 13.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009651/1.009, allocations: 55.78 kB / 0.5638 GB, free: 13.74 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.0002674/1.01, allocations: 127.5 kB / 0.5639 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/1.011, allocations: 186 kB / 0.5641 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.011, allocations: 0 / 0.5641 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007995/1.012, allocations: 107.8 kB / 0.5642 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/1.012, allocations: 18.73 kB / 0.5642 GB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006864/1.013, allocations: 219.1 kB / 0.5644 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/1.013, allocations: 0.7621 MB / 0.5651 GB, free: 12.28 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/1.013, allocations: 0 / 0.5651 GB, free: 12.28 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat