Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_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.0009841/0.0009841, allocations: 181.2 kB / 8.516 MB, free: 1.852 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.131/1.131, allocations: 221.4 MB / 230.3 MB, free: 7.746 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.0008772/0.0008772, allocations: 92.72 kB / 281.2 MB, free: 5.512 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.1586/0.1586, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1806/0.3392, allocations: 68.05 MB / 444.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09836/0.4376, allocations: 61.91 MB / 0.4942 GB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2637/0.7014, allocations: 93.32 MB / 0.5853 GB, free: 3.473 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.7017, allocations: 99.77 kB / 0.5854 GB, free: 3.379 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.02359/0.7253, allocations: 7.948 MB / 0.5932 GB, free: 11.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.7253, allocations: 11.94 kB / 0.5932 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.7254, allocations: 15.91 kB / 0.5932 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.7255, allocations: 182.8 kB / 0.5934 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.7255, allocations: 4 kB / 0.5934 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.7256, allocations: 8 kB / 0.5934 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002172/0.7258, allocations: 99.97 kB / 0.5935 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.726, allocations: 118.8 kB / 0.5936 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.726, allocations: 0 / 0.5936 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.726, allocations: 0 / 0.5936 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.726, allocations: 7.906 kB / 0.5936 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008349/0.7269, allocations: 499.2 kB / 0.5941 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.727, allocations: 74.69 kB / 0.5942 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.424e-05/0.7271, allocations: 36.86 kB / 0.5942 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.7271, allocations: 0 / 0.5942 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.7272, allocations: 34.56 kB / 0.5942 GB, free: 10.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 2.846e-06/0.7272, allocations: 0 / 0.5942 GB, free: 10.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002229/0.7274, allocations: 101.7 kB / 0.5943 GB, free: 10.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.7274, allocations: 51.41 kB / 0.5944 GB, free: 10.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.845e-05/0.7275, allocations: 101.2 kB / 0.5945 GB, free: 9.898 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.7276, allocations: 33.7 kB / 0.5945 GB, free: 9.859 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.7276, allocations: 115.5 kB / 0.5946 GB, free: 9.742 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.7277, allocations: 43.39 kB / 0.5947 GB, free: 9.699 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.7277, allocations: 0 / 0.5947 GB, free: 9.699 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.7278, allocations: 318.8 kB / 0.595 GB, free: 9.379 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/0.7278, allocations: 20 kB / 0.595 GB, free: 9.359 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-05/0.7279, allocations: 69.14 kB / 0.595 GB, free: 9.273 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.03e-05/0.728, allocations: 31.92 kB / 0.5951 GB, free: 9.242 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.728, allocations: 0 / 0.5951 GB, free: 9.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000195/0.7282, allocations: 117.8 kB / 0.5952 GB, free: 9.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.7282, allocations: 10.34 kB / 0.5952 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7282, allocations: 4 kB / 0.5952 GB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.7282, allocations: 7.984 kB / 0.5952 GB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.7285, allocations: 51.84 kB / 0.5953 GB, free: 9.047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003281/0.7289, allocations: 0.5859 MB / 0.5958 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.729, allocations: 27.95 kB / 0.5959 GB, free: 8.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.729, allocations: 4 kB / 0.5959 GB, free: 8.406 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * 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): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.997e-05/0.7291, allocations: 112.9 kB / 0.596 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.7291, allocations: 7.906 kB / 0.596 GB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.7294, allocations: 140.1 kB / 0.5961 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.7295, allocations: 4 kB / 0.5961 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7295, allocations: 7.844 kB / 0.5961 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.7295, allocations: 3.984 kB / 0.5961 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.7297, allocations: 182.1 kB / 0.5963 GB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.7297, allocations: 3.906 kB / 0.5963 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.7299, allocations: 39.97 kB / 0.5963 GB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.7299, allocations: 0 / 0.5963 GB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.73, allocations: 4 kB / 0.5963 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003148/0.7303, allocations: 0.5938 MB / 0.5969 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.7303, allocations: 3.906 kB / 0.5969 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000274/0.7306, allocations: 251.4 kB / 0.5972 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003982/0.731, allocations: 0.6588 MB / 0.5978 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.7311, allocations: 104.9 kB / 0.5979 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.7311, allocations: 3.938 kB / 0.5979 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.7312, allocations: 4 kB / 0.5979 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.7313, allocations: 7.984 kB / 0.5979 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.7313, allocations: 12.05 kB / 0.5979 GB, free: 6.145 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.489e-05/0.7314, allocations: 87.28 kB / 0.598 GB, free: 6.059 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009773/0.7323, allocations: 88.02 kB / 0.5981 GB, free: 5.973 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003332/0.7327, allocations: 205.7 kB / 0.5983 GB, free: 5.762 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.733, allocations: 95.91 kB / 0.5984 GB, free: 5.668 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.733, allocations: 0 / 0.5984 GB, free: 5.668 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.7331, allocations: 63.91 kB / 0.5985 GB, free: 5.605 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.7333, allocations: 288 / 0.5985 GB, free: 5.605 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004663/0.7338, allocations: 172.6 kB / 0.5986 GB, free: 5.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.7341, allocations: 0.7377 MB / 0.5993 GB, free: 4.648 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7341, allocations: 3.938 kB / 0.5993 GB, free: 4.645 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat