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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001858/0.001858, allocations: 193.1 kB / 7.805 MB, free: 2.5 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.557/1.557, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0009284/0.0009281, allocations: 89.89 kB / 261.4 MB, free: 13.54 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.2493/0.2493, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3184/0.5678, allocations: 64.99 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/1.064, allocations: 58.85 MB / 476.7 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/1.211, allocations: 88.61 MB / 0.552 GB, free: 10.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/1.211, allocations: 91.92 kB / 0.5521 GB, free: 10.22 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5587:11-5590: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 3.2.3+maint.om/Fluid/Dissipation.mo:5598:11-5601: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.02554/1.237, allocations: 7.856 MB / 0.5598 GB, free: 2.293 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/1.237, allocations: 8 kB / 0.5598 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007707/1.238, allocations: 95.64 kB / 0.5599 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/1.238, allocations: 234.7 kB / 0.5601 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/1.238, allocations: 4 kB / 0.5601 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/1.238, allocations: 12 kB / 0.5601 GB, free: 1.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006267/1.239, allocations: 283.8 kB / 0.5604 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/1.239, allocations: 273.4 kB / 0.5607 GB, free: 1.355 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.239, allocations: 4 kB / 0.5607 GB, free: 1.352 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/1.239, allocations: 0 / 0.5607 GB, free: 1.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-05/1.239, allocations: 19.98 kB / 0.5607 GB, free: 1.332 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/1.241, allocations: 0.7991 MB / 0.5615 GB, free: 464 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/1.242, allocations: 206.3 kB / 0.5617 GB, free: 248 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/1.242, allocations: 72.84 kB / 0.5617 GB, free: 172 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/1.242, allocations: 4 kB / 0.5617 GB, free: 168 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/1.242, allocations: 34.56 kB / 0.5618 GB, free: 124 kB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.495e-06/1.242, allocations: 0 / 0.5618 GB, free: 124 kB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000489/1.242, allocations: 185.7 kB / 0.562 GB, free: 15.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/1.242, allocations: 55.41 kB / 0.562 GB, free: 15.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/1.243, allocations: 121.2 kB / 0.5621 GB, free: 15.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/1.243, allocations: 25.7 kB / 0.5621 GB, free: 15.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/1.243, allocations: 143.8 kB / 0.5623 GB, free: 15.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/1.243, allocations: 31.55 kB / 0.5623 GB, free: 15.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/1.243, allocations: 0 / 0.5623 GB, free: 15.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/1.243, allocations: 330.7 kB / 0.5626 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/1.243, allocations: 63.94 kB / 0.5627 GB, free: 15.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/1.243, allocations: 122.8 kB / 0.5628 GB, free: 14.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/1.243, allocations: 83.86 kB / 0.5629 GB, free: 14.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.243, allocations: 4 kB / 0.5629 GB, free: 14.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003897/1.244, allocations: 225.2 kB / 0.5631 GB, free: 14.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.244, allocations: 8.172 kB / 0.5631 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/1.244, allocations: 224 / 0.5631 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.244, allocations: 11.94 kB / 0.5631 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/1.244, allocations: 79.91 kB / 0.5632 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/1.245, allocations: 1.797 MB / 0.565 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/1.246, allocations: 19.83 kB / 0.565 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/1.246, allocations: 24.16 kB / 0.565 GB, free: 12.67 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 0.0001274/1.246, allocations: 118.2 kB / 0.5651 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/1.246, allocations: 7.906 kB / 0.5651 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005558/1.247, allocations: 241.7 kB / 0.5653 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.247, allocations: 4 kB / 0.5654 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.247, allocations: 0 / 0.5654 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.247, allocations: 0 / 0.5654 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/1.247, allocations: 225.9 kB / 0.5656 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.247, allocations: 4 kB / 0.5656 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/1.247, allocations: 67.92 kB / 0.5656 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.247, allocations: 0 / 0.5656 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/1.247, allocations: 11.97 kB / 0.5656 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/1.248, allocations: 1.801 MB / 0.5674 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.248, allocations: 0 / 0.5674 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004038/1.249, allocations: 283.5 kB / 0.5677 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004744/1.249, allocations: 0.6481 MB / 0.5683 GB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/1.249, allocations: 96.84 kB / 0.5684 GB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/1.249, allocations: 0 / 0.5684 GB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/1.25, allocations: 19.97 kB / 0.5684 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/1.25, allocations: 7.984 kB / 0.5684 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/1.25, allocations: 11.97 kB / 0.5684 GB, free: 8.977 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.14e-05/1.25, allocations: 104.1 kB / 0.5685 GB, free: 8.875 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001005/1.251, allocations: 72.12 kB / 0.5686 GB, free: 8.805 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.0003552/1.251, allocations: 155.1 kB / 0.5688 GB, free: 8.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005932/1.252, allocations: 211.7 kB / 0.569 GB, free: 8.434 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.252, allocations: 0 / 0.569 GB, free: 8.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003468/1.252, allocations: 120.2 kB / 0.5691 GB, free: 8.316 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/1.252, allocations: 15.77 kB / 0.5691 GB, free: 8.301 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006982/1.253, allocations: 251.2 kB / 0.5693 GB, free: 8.027 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005087/1.254, allocations: 0.7893 MB / 0.5701 GB, free: 7.211 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/1.254, allocations: 0 / 0.5701 GB, free: 7.211 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat