Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.001229/0.001229, 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.161/1.161, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008504/0.0008505, allocations: 97.22 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1707/0.1707, allocations: 45.15 MB / 383.4 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1996/0.3703, allocations: 69.38 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08839/0.4587, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2794/0.7382, allocations: 91.49 MB / 0.5932 GB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.7384, allocations: 94.2 kB / 0.5933 GB, free: 11.32 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5884:11-5887:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5889:11-5892:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5895:11-5898:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5900:11-5903:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.01092/0.7494, allocations: 3.715 MB / 0.5969 GB, free: 8.113 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.7494, allocations: 8 kB / 0.597 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003164/0.7498, allocations: 43.3 kB / 0.597 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.75, allocations: 190.7 kB / 0.5972 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.75, allocations: 4 kB / 0.5972 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.75, allocations: 4 kB / 0.5972 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001935/0.7502, allocations: 94.27 kB / 0.5973 GB, free: 7.766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.7504, allocations: 154.3 kB / 0.5974 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.7505, allocations: 0 / 0.5974 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.7505, allocations: 0 / 0.5974 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.7505, allocations: 19.88 kB / 0.5974 GB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008353/0.7514, allocations: 0.6159 MB / 0.598 GB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.7516, allocations: 104.2 kB / 0.5981 GB, free: 6.871 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.7517, allocations: 31.19 kB / 0.5982 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.7517, allocations: 0 / 0.5982 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.7517, allocations: 30.56 kB / 0.5982 GB, free: 6.805 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.7517, allocations: 4 kB / 0.5982 GB, free: 6.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001946/0.7519, allocations: 75.77 kB / 0.5983 GB, free: 6.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.752, allocations: 55.41 kB / 0.5983 GB, free: 6.664 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.288e-05/0.7521, allocations: 112.9 kB / 0.5984 GB, free: 6.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.7521, allocations: 29.7 kB / 0.5985 GB, free: 6.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.7522, allocations: 114.9 kB / 0.5986 GB, free: 6.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.7522, allocations: 26.83 kB / 0.5986 GB, free: 6.375 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.7522, allocations: 0 / 0.5986 GB, free: 6.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.7523, allocations: 318.8 kB / 0.5989 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.7524, allocations: 31.17 kB / 0.5989 GB, free: 6.035 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.071e-05/0.7525, allocations: 74.78 kB / 0.599 GB, free: 5.941 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.941e-05/0.7525, allocations: 35.12 kB / 0.599 GB, free: 5.914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7525, allocations: 4 kB / 0.599 GB, free: 5.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001922/0.7527, allocations: 123.7 kB / 0.5992 GB, free: 5.793 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.7527, allocations: 8 kB / 0.5992 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.7528, allocations: 0 / 0.5992 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.7528, allocations: 8 kB / 0.5992 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.753, allocations: 44.22 kB / 0.5992 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.753, allocations: 7.938 kB / 0.5992 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.7531, allocations: 19.84 kB / 0.5992 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.7531, allocations: 8.141 kB / 0.5993 GB, free: 5.703 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.622e-05/0.7532, allocations: 108.9 kB / 0.5994 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.7532, allocations: 11.91 kB / 0.5994 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.7534, allocations: 95.91 kB / 0.5995 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.7534, allocations: 0 / 0.5995 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.7535, allocations: 0 / 0.5995 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7535, allocations: 3.938 kB / 0.5995 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.7536, allocations: 176.3 kB / 0.5996 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.7536, allocations: 0 / 0.5996 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.7538, allocations: 35.97 kB / 0.5997 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.7538, allocations: 0 / 0.5997 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.7538, allocations: 4 kB / 0.5997 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.7538, allocations: 0 / 0.5997 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.7538, allocations: 0 / 0.5997 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001718/0.754, allocations: 183.3 kB / 0.5998 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002672/0.7543, allocations: 0.5626 MB / 0.6004 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.7543, allocations: 81.02 kB / 0.6005 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.7544, allocations: 0 / 0.6005 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.7545, allocations: 11.98 kB / 0.6005 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.7546, allocations: 11.06 kB / 0.6005 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.7546, allocations: 0 / 0.6005 GB, free: 4.375 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.046e-05/0.7547, allocations: 94.33 kB / 0.6006 GB, free: 4.289 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008181/0.7555, allocations: 26.59 kB / 0.6006 GB, free: 4.266 MB / 394.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 (8): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000149/0.7556, allocations: 122 kB / 0.6007 GB, free: 4.141 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.7558, allocations: 66.48 kB / 0.6008 GB, free: 4.086 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.7558, allocations: 0 / 0.6008 GB, free: 4.086 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/0.7558, allocations: 34.73 kB / 0.6008 GB, free: 4.059 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.756, allocations: 7.062 kB / 0.6008 GB, free: 4.055 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.7564, allocations: 141.1 kB / 0.601 GB, free: 3.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/0.7567, allocations: 0.7304 MB / 0.6017 GB, free: 3.148 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7567, allocations: 0 / 0.6017 GB, free: 3.148 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat