Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001249/0.001249, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.21/1.21, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009237/0.0009238, allocations: 98.78 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1674/0.1674, allocations: 45.14 MB / 383.3 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2017/0.3691, allocations: 69.4 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08977/0.4589, allocations: 63.25 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2751/0.734, allocations: 90.78 MB / 0.5925 GB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.7343, allocations: 102.4 kB / 0.5926 GB, free: 11.97 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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.02297/0.7573, allocations: 8.028 MB / 0.6005 GB, free: 5.234 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/0.7573, allocations: 8 kB / 0.6005 GB, free: 5.227 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007401/0.7581, allocations: 98.52 kB / 0.6006 GB, free: 5.137 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.7584, allocations: 229.3 kB / 0.6008 GB, free: 4.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.7584, allocations: 4 kB / 0.6008 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.7584, allocations: 8 kB / 0.6008 GB, free: 4.867 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004432/0.7589, allocations: 288.6 kB / 0.6011 GB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.7593, allocations: 278.7 kB / 0.6014 GB, free: 4.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.7593, allocations: 4 kB / 0.6014 GB, free: 4.426 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.7594, allocations: 0 / 0.6014 GB, free: 4.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/0.7594, allocations: 18.98 kB / 0.6014 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.761, allocations: 0.7911 MB / 0.6022 GB, free: 3.602 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.7614, allocations: 203.5 kB / 0.6023 GB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.7615, allocations: 79.58 kB / 0.6024 GB, free: 3.344 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.7615, allocations: 288 / 0.6024 GB, free: 3.344 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.7616, allocations: 42.5 kB / 0.6025 GB, free: 3.293 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.7616, allocations: 0 / 0.6025 GB, free: 3.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004156/0.762, allocations: 179.1 kB / 0.6026 GB, free: 3.129 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.762, allocations: 55.41 kB / 0.6027 GB, free: 3.062 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.7621, allocations: 124.2 kB / 0.6028 GB, free: 2.945 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.7622, allocations: 29.64 kB / 0.6028 GB, free: 2.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.7623, allocations: 142 kB / 0.603 GB, free: 2.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.7623, allocations: 35.48 kB / 0.603 GB, free: 2.738 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.7623, allocations: 0 / 0.603 GB, free: 2.738 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7625, allocations: 326.6 kB / 0.6033 GB, free: 2.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.7626, allocations: 70.44 kB / 0.6034 GB, free: 2.355 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.7627, allocations: 123.4 kB / 0.6035 GB, free: 2.227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.7629, allocations: 86.55 kB / 0.6036 GB, free: 2.152 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7629, allocations: 0 / 0.6036 GB, free: 2.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004095/0.7633, allocations: 230 kB / 0.6038 GB, free: 1.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.7633, allocations: 8.219 kB / 0.6038 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.7634, allocations: 4 kB / 0.6038 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.7634, allocations: 0 / 0.6038 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.7639, allocations: 79.84 kB / 0.6039 GB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009222/0.7648, allocations: 1.799 MB / 0.6056 GB, free: 0 / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.7651, allocations: 31.7 kB / 0.6057 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.7651, allocations: 15.97 kB / 0.6057 GB, free: 15.96 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 8.957e-05/0.7652, allocations: 104.9 kB / 0.6058 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.7653, allocations: 11.84 kB / 0.6058 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005115/0.7658, allocations: 242.8 kB / 0.606 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.7658, allocations: 0 / 0.606 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.7658, allocations: 0 / 0.606 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.7658, allocations: 4 kB / 0.606 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.7661, allocations: 232 kB / 0.6063 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7661, allocations: 0 / 0.6063 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.7665, allocations: 63.86 kB / 0.6063 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.7666, allocations: 3.984 kB / 0.6063 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.7666, allocations: 11.48 kB / 0.6063 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000939/0.7675, allocations: 1.799 MB / 0.6081 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.7676, allocations: 4.281 kB / 0.6081 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000373/0.7679, allocations: 287 kB / 0.6084 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004864/0.7684, allocations: 0.6492 MB / 0.609 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.7685, allocations: 88.91 kB / 0.6091 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.7685, allocations: 4 kB / 0.6091 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.7688, allocations: 15.98 kB / 0.6091 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.7689, allocations: 15.97 kB / 0.6091 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.7689, allocations: 15.8 kB / 0.6091 GB, free: 12.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.43e-05/0.769, allocations: 97.36 kB / 0.6092 GB, free: 12.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001019/0.77, allocations: 74.59 kB / 0.6093 GB, free: 12.2 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.0002744/0.7703, allocations: 154.8 kB / 0.6094 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005523/0.7708, allocations: 208.8 kB / 0.6096 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7709, allocations: 0 / 0.6096 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003566/0.7712, allocations: 122.6 kB / 0.6098 GB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.7714, allocations: 8.031 kB / 0.6098 GB, free: 11.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.772, allocations: 255 kB / 0.61 GB, free: 11.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/0.7725, allocations: 0.7885 MB / 0.6108 GB, free: 10.66 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.7725, allocations: 0 / 0.6108 GB, free: 10.66 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat