Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009791/0.0009791, allocations: 179.3 kB / 8.518 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.136/1.136, allocations: 221.4 MB / 230.3 MB, free: 7.703 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008999/0.0008999, allocations: 98.41 kB / 281.2 MB, free: 5.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1592/0.1592, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1715/0.3308, allocations: 68.05 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.4293, allocations: 61.91 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2644/0.6938, allocations: 98.36 MB / 0.5902 GB, free: 14.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.6941, allocations: 100.4 kB / 0.5903 GB, free: 14.22 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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 4.0.0+maint.om/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.04839/0.7425, allocations: 15.62 MB / 0.6056 GB, free: 14.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.7425, allocations: 15.94 kB / 0.6056 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.7426, allocations: 27.62 kB / 0.6056 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.7429, allocations: 230.6 kB / 0.6059 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.7429, allocations: 4 kB / 0.6059 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.7429, allocations: 16 kB / 0.6059 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004389/0.7434, allocations: 329 kB / 0.6062 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.7438, allocations: 323.9 kB / 0.6065 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7439, allocations: 7.922 kB / 0.6065 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.7439, allocations: 0 / 0.6065 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.7439, allocations: 40.56 kB / 0.6065 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.7453, allocations: 0.9607 MB / 0.6075 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.7458, allocations: 266.5 kB / 0.6077 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.746, allocations: 77.2 kB / 0.6078 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.746, allocations: 8.172 kB / 0.6078 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.746, allocations: 38.75 kB / 0.6079 GB, free: 12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 3.676e-06/0.746, allocations: 4 kB / 0.6079 GB, free: 11.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003916/0.7464, allocations: 205.4 kB / 0.6081 GB, free: 11.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.7465, allocations: 51.41 kB / 0.6081 GB, free: 11.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.724e-05/0.7466, allocations: 117 kB / 0.6082 GB, free: 11.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.7466, allocations: 25.7 kB / 0.6082 GB, free: 11.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.7467, allocations: 164 kB / 0.6084 GB, free: 11.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.7467, allocations: 63.02 kB / 0.6085 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.7468, allocations: 0 / 0.6085 GB, free: 11.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.7469, allocations: 322.8 kB / 0.6088 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.747, allocations: 71.81 kB / 0.6088 GB, free: 10.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.7471, allocations: 91.34 kB / 0.6089 GB, free: 10.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.7473, allocations: 87.3 kB / 0.609 GB, free: 10.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7473, allocations: 0 / 0.609 GB, free: 10.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003403/0.7476, allocations: 221.3 kB / 0.6092 GB, free: 10.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.7476, allocations: 10.28 kB / 0.6092 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7477, allocations: 4.062 kB / 0.6092 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.7477, allocations: 4 kB / 0.6092 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.7481, allocations: 87.86 kB / 0.6093 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.7493, allocations: 2.411 MB / 0.6117 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.7495, allocations: 23.77 kB / 0.6117 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.7495, allocations: 12 kB / 0.6117 GB, free: 7.91 MB / 426.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 7.901e-05/0.7496, allocations: 104.9 kB / 0.6118 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.7497, allocations: 19.8 kB / 0.6118 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006996/0.7504, allocations: 342 kB / 0.6122 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.7504, allocations: 4 kB / 0.6122 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.7504, allocations: 0 / 0.6122 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.7504, allocations: 3.906 kB / 0.6122 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.7507, allocations: 278 kB / 0.6124 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.7507, allocations: 0 / 0.6124 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/0.7511, allocations: 91.86 kB / 0.6125 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.7512, allocations: 0 / 0.6125 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.7512, allocations: 4 kB / 0.6125 GB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.7523, allocations: 2.407 MB / 0.6149 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7523, allocations: 0 / 0.6149 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003554/0.7527, allocations: 323.8 kB / 0.6152 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004843/0.7531, allocations: 0.6998 MB / 0.6159 GB, free: 3.473 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.7533, allocations: 128.8 kB / 0.616 GB, free: 3.328 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.7533, allocations: 4 kB / 0.616 GB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.7535, allocations: 7.984 kB / 0.616 GB, free: 3.316 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.7535, allocations: 15.97 kB / 0.616 GB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.7536, allocations: 12 kB / 0.616 GB, free: 3.289 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.682e-05/0.7536, allocations: 95.27 kB / 0.6161 GB, free: 3.195 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001157/0.7548, allocations: 187.4 kB / 0.6163 GB, free: 3.012 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.0005581/0.7554, allocations: 266.8 kB / 0.6165 GB, free: 2.742 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006151/0.756, allocations: 232.1 kB / 0.6168 GB, free: 2.516 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.756, allocations: 0 / 0.6168 GB, free: 2.516 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004407/0.7564, allocations: 151.8 kB / 0.6169 GB, free: 2.363 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.7566, allocations: 14.02 kB / 0.6169 GB, free: 2.352 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006991/0.7573, allocations: 367.5 kB / 0.6173 GB, free: 1.965 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004245/0.7578, allocations: 0.8251 MB / 0.6181 GB, free: 1.109 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.7578, allocations: 0 / 0.6181 GB, free: 1.109 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat