Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.00169/0.00169, allocations: 184.1 kB / 8.52 MB, free: 1.828 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.195/1.195, allocations: 221.4 MB / 230.3 MB, free: 7.633 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.0009104/0.0009106, allocations: 84.12 kB / 281.2 MB, free: 5.457 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.159/0.159, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1818/0.3408, allocations: 68.05 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09674/0.4376, allocations: 61.91 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2699/0.7075, allocations: 90.42 MB / 0.5825 GB, free: 6.297 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/0.7079, allocations: 99.75 kB / 0.5826 GB, free: 6.203 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.01734/0.7252, allocations: 6.159 MB / 0.5886 GB, free: 15.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.7253, allocations: 19.94 kB / 0.5886 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.7263, allocations: 159.4 kB / 0.5888 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.7267, allocations: 250.7 kB / 0.589 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.7267, allocations: 15.89 kB / 0.589 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.7267, allocations: 12 kB / 0.589 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004825/0.7272, allocations: 336.9 kB / 0.5894 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.7277, allocations: 401 kB / 0.5897 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.7278, allocations: 0 / 0.5897 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.7278, allocations: 0 / 0.5897 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.958e-05/0.7278, allocations: 20.48 kB / 0.5898 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.7298, allocations: 1.633 MB / 0.5914 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.73, allocations: 91.34 kB / 0.5914 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.858e-05/0.73, allocations: 36.84 kB / 0.5915 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.7301, allocations: 4.141 kB / 0.5915 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.7301, allocations: 34.56 kB / 0.5915 GB, free: 12.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.7301, allocations: 0 / 0.5915 GB, free: 12.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002952/0.7304, allocations: 113.5 kB / 0.5916 GB, free: 12.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.7304, allocations: 51.41 kB / 0.5917 GB, free: 12.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.7306, allocations: 197.8 kB / 0.5919 GB, free: 12.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.7307, allocations: 29.7 kB / 0.5919 GB, free: 12.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.141e-05/0.7308, allocations: 175.5 kB / 0.5921 GB, free: 12.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.7308, allocations: 27.64 kB / 0.5921 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.7308, allocations: 4 kB / 0.5921 GB, free: 12.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7309, allocations: 326.7 kB / 0.5924 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.7311, allocations: 55.97 kB / 0.5925 GB, free: 11.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.7312, allocations: 105.9 kB / 0.5926 GB, free: 11.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.7313, allocations: 81.62 kB / 0.5926 GB, free: 11.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.7314, allocations: 0 / 0.5926 GB, free: 11.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003385/0.7317, allocations: 197.4 kB / 0.5928 GB, free: 11.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.7317, allocations: 7.906 kB / 0.5928 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7317, allocations: 4 kB / 0.5928 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.7317, allocations: 192 / 0.5928 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.7334, allocations: 127.8 kB / 0.593 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.7352, allocations: 1.867 MB / 0.5948 GB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.7354, allocations: 24.02 kB / 0.5948 GB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.7355, allocations: 12 kB / 0.5948 GB, free: 9.207 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * 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.139e-05/0.7356, allocations: 107.5 kB / 0.5949 GB, free: 9.098 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.7356, allocations: 11.91 kB / 0.5949 GB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/0.736, allocations: 174.8 kB / 0.5951 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.736, allocations: 0 / 0.5951 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.7361, allocations: 8 kB / 0.5951 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.7361, allocations: 0 / 0.5951 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.7363, allocations: 238 kB / 0.5953 GB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.7364, allocations: 3.938 kB / 0.5953 GB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.7377, allocations: 95.88 kB / 0.5954 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.7377, allocations: 0 / 0.5954 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.7377, allocations: 0 / 0.5954 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.7389, allocations: 1.809 MB / 0.5972 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7389, allocations: 0 / 0.5972 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002542/0.7392, allocations: 223.3 kB / 0.5974 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000365/0.7396, allocations: 0.5972 MB / 0.598 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.7396, allocations: 100.9 kB / 0.5981 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.7397, allocations: 4 kB / 0.5981 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.7399, allocations: 7.984 kB / 0.5981 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.74, allocations: 7.984 kB / 0.5981 GB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.74, allocations: 4 kB / 0.5981 GB, free: 5.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001234/0.7401, allocations: 160.3 kB / 0.5983 GB, free: 5.504 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009129/0.741, allocations: 75.69 kB / 0.5983 GB, free: 5.43 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 (11): * 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): 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.0001867/0.7412, allocations: 141.2 kB / 0.5985 GB, free: 5.285 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.7431, allocations: 195.9 kB / 0.5987 GB, free: 5.094 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7431, allocations: 3.938 kB / 0.5987 GB, free: 5.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.7443, allocations: 103.8 kB / 0.5988 GB, free: 4.988 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.7445, allocations: 12.12 kB / 0.5988 GB, free: 4.977 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007989/0.7453, allocations: 324.5 kB / 0.5991 GB, free: 4.633 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/0.7457, allocations: 0.8121 MB / 0.5999 GB, free: 3.797 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7457, allocations: 4 kB / 0.5999 GB, free: 3.793 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat