Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.001893/0.001893, allocations: 206.7 kB / 8.536 MB, free: 1.688 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008602/0.0008602, allocations: 87.72 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1932/0.1932, allocations: 45.14 MB / 383.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2005/0.3937, allocations: 69.39 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.4844, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2831/0.7676, allocations: 99.42 MB / 0.601 GB, free: 3.738 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.7678, allocations: 98.36 kB / 0.6011 GB, free: 3.688 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:4725:11-4728:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:4738:11-4741:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.04755/0.8154, allocations: 15.64 MB / 0.6163 GB, free: 6.281 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.8155, allocations: 8 kB / 0.6163 GB, free: 6.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.8155, allocations: 31.62 kB / 0.6164 GB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.8158, allocations: 242 kB / 0.6166 GB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.8159, allocations: 12 kB / 0.6166 GB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.8159, allocations: 15.94 kB / 0.6166 GB, free: 5.945 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004303/0.8164, allocations: 326.6 kB / 0.6169 GB, free: 5.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.8168, allocations: 328 kB / 0.6172 GB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.8168, allocations: 0 / 0.6172 GB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.8168, allocations: 0 / 0.6172 GB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/0.8169, allocations: 32.02 kB / 0.6173 GB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.8182, allocations: 0.9647 MB / 0.6182 GB, free: 4.453 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/0.8187, allocations: 260.3 kB / 0.6185 GB, free: 4.227 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.8189, allocations: 80.25 kB / 0.6185 GB, free: 4.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.8189, allocations: 8.25 kB / 0.6186 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.8189, allocations: 38.25 kB / 0.6186 GB, free: 4.109 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.545e-06/0.8189, allocations: 0 / 0.6186 GB, free: 4.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004227/0.8194, allocations: 213.4 kB / 0.6188 GB, free: 3.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.8194, allocations: 51.41 kB / 0.6188 GB, free: 3.859 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.39e-05/0.8195, allocations: 118.5 kB / 0.619 GB, free: 3.746 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.8195, allocations: 25.7 kB / 0.619 GB, free: 3.715 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.8196, allocations: 158 kB / 0.6191 GB, free: 3.566 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.8197, allocations: 69.81 kB / 0.6192 GB, free: 3.504 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.8197, allocations: 4 kB / 0.6192 GB, free: 3.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.8198, allocations: 325.6 kB / 0.6195 GB, free: 3.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.8199, allocations: 58.84 kB / 0.6196 GB, free: 3.133 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.82, allocations: 93.02 kB / 0.6197 GB, free: 3.047 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.8202, allocations: 81.12 kB / 0.6197 GB, free: 2.984 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8202, allocations: 4 kB / 0.6197 GB, free: 2.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003506/0.8205, allocations: 226.1 kB / 0.62 GB, free: 2.777 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.8206, allocations: 7.984 kB / 0.62 GB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.8206, allocations: 0 / 0.62 GB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.8206, allocations: 0 / 0.62 GB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.821, allocations: 99.17 kB / 0.6201 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.8223, allocations: 2.408 MB / 0.6224 GB, free: 192 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.8225, allocations: 15.84 kB / 0.6224 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.8225, allocations: 15.05 kB / 0.6224 GB, free: 164 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.8226, allocations: 104.9 kB / 0.6225 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.8227, allocations: 19.91 kB / 0.6226 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006952/0.8234, allocations: 341.8 kB / 0.6229 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.8234, allocations: 4 kB / 0.6229 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.8234, allocations: 7.906 kB / 0.6229 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.8234, allocations: 7.969 kB / 0.6229 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.8237, allocations: 260.7 kB / 0.6231 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8237, allocations: 3.938 kB / 0.6232 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/0.8242, allocations: 87.92 kB / 0.6232 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.8242, allocations: 0 / 0.6232 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.8242, allocations: 7.984 kB / 0.6232 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.8253, allocations: 2.407 MB / 0.6256 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8253, allocations: 3.938 kB / 0.6256 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003795/0.8257, allocations: 327.2 kB / 0.6259 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004595/0.8262, allocations: 0.6963 MB / 0.6266 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.8263, allocations: 125.6 kB / 0.6267 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.8263, allocations: 3.984 kB / 0.6267 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.8265, allocations: 8 kB / 0.6267 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.8266, allocations: 19.09 kB / 0.6267 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.8266, allocations: 15.98 kB / 0.6268 GB, free: 11.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.875e-05/0.8266, allocations: 93.47 kB / 0.6268 GB, free: 11.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001186/0.8278, allocations: 211.9 kB / 0.627 GB, free: 11.43 MB / 426.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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005143/0.8284, allocations: 282.5 kB / 0.6273 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006145/0.829, allocations: 226 kB / 0.6275 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.829, allocations: 0 / 0.6275 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004482/0.8294, allocations: 163.1 kB / 0.6277 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.8297, allocations: 8.125 kB / 0.6277 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006797/0.8303, allocations: 358.9 kB / 0.628 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004296/0.8308, allocations: 0.8349 MB / 0.6289 GB, free: 9.602 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.8308, allocations: 4 kB / 0.6289 GB, free: 9.598 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat