Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 185.8 kB / 7.799 MB, free: 2.438 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.569/1.569, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.001075/0.001076, allocations: 109.1 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.2174/0.2174, allocations: 43.48 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2504/0.4679, allocations: 65 MB / 417.8 MB, free: 40.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.8363, allocations: 58.83 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.979, allocations: 92.19 MB / 0.5555 GB, free: 6.691 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003655/0.9795, allocations: 99.88 kB / 0.5556 GB, free: 6.594 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.02488/1.004, allocations: 7.812 MB / 0.5633 GB, free: 14.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.004, allocations: 8 kB / 0.5633 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/1.005, allocations: 7.906 kB / 0.5633 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/1.005, allocations: 186.8 kB / 0.5634 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/1.005, allocations: 4 kB / 0.5634 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/1.005, allocations: 8 kB / 0.5635 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002148/1.005, allocations: 107.9 kB / 0.5636 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/1.005, allocations: 109.6 kB / 0.5637 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.005, allocations: 8 kB / 0.5637 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/1.005, allocations: 3.906 kB / 0.5637 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/1.005, allocations: 0 / 0.5637 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009715/1.006, allocations: 495.2 kB / 0.5641 GB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/1.006, allocations: 74.67 kB / 0.5642 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.425e-05/1.006, allocations: 32.8 kB / 0.5643 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/1.006, allocations: 11.98 kB / 0.5643 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/1.007, allocations: 30.56 kB / 0.5643 GB, free: 13.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 2.144e-06/1.007, allocations: 0 / 0.5643 GB, free: 13.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000252/1.007, allocations: 101.7 kB / 0.5644 GB, free: 13.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/1.007, allocations: 51.41 kB / 0.5644 GB, free: 13.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.212e-05/1.007, allocations: 105.2 kB / 0.5645 GB, free: 13.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/1.007, allocations: 25.7 kB / 0.5646 GB, free: 13.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/1.007, allocations: 111.7 kB / 0.5647 GB, free: 13.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/1.007, allocations: 39.39 kB / 0.5647 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/1.007, allocations: 0 / 0.5647 GB, free: 13.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/1.007, allocations: 319.8 kB / 0.565 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.896e-05/1.007, allocations: 31.98 kB / 0.565 GB, free: 12.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-05/1.007, allocations: 64.89 kB / 0.5651 GB, free: 12.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.238e-05/1.007, allocations: 27.98 kB / 0.5651 GB, free: 12.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/1.007, allocations: 3.984 kB / 0.5651 GB, free: 12.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002109/1.008, allocations: 129.4 kB / 0.5653 GB, free: 12.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/1.008, allocations: 4 kB / 0.5653 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.008, allocations: 4 kB / 0.5653 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.008, allocations: 4 kB / 0.5653 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/1.008, allocations: 47.95 kB / 0.5653 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004164/1.008, allocations: 0.6017 MB / 0.5659 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/1.009, allocations: 16.27 kB / 0.5659 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/1.009, allocations: 8 kB / 0.5659 GB, free: 11.75 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 8.929e-05/1.009, allocations: 113.7 kB / 0.566 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.445e-05/1.009, allocations: 7.906 kB / 0.566 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/1.009, allocations: 151.6 kB / 0.5662 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/1.009, allocations: 7.906 kB / 0.5662 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.009, allocations: 0 / 0.5662 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.009, allocations: 0 / 0.5662 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/1.009, allocations: 182.1 kB / 0.5664 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.009, allocations: 0 / 0.5664 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/1.01, allocations: 47.97 kB / 0.5664 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.01, allocations: 0 / 0.5664 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/1.01, allocations: 3.938 kB / 0.5664 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003542/1.01, allocations: 0.5938 MB / 0.567 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.01, allocations: 3.906 kB / 0.567 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000289/1.01, allocations: 247.5 kB / 0.5672 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004872/1.011, allocations: 0.6523 MB / 0.5679 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.386e-05/1.011, allocations: 96.94 kB / 0.568 GB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/1.011, allocations: 0 / 0.568 GB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/1.011, allocations: 20.05 kB / 0.568 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/1.011, allocations: 7.984 kB / 0.568 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/1.011, allocations: 8 kB / 0.568 GB, free: 9.508 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.83e-05/1.011, allocations: 95.2 kB / 0.5681 GB, free: 9.414 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001068/1.012, allocations: 88.14 kB / 0.5682 GB, free: 9.328 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.0004297/1.013, allocations: 199 kB / 0.5684 GB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002896/1.013, allocations: 91.91 kB / 0.5685 GB, free: 9.031 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.013, allocations: 0 / 0.5685 GB, free: 9.031 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/1.013, allocations: 60.23 kB / 0.5685 GB, free: 8.973 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/1.013, allocations: 15.86 kB / 0.5685 GB, free: 8.957 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000601/1.014, allocations: 176.5 kB / 0.5687 GB, free: 8.754 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/1.014, allocations: 0.7348 MB / 0.5694 GB, free: 7.992 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/1.014, allocations: 0 / 0.5694 GB, free: 7.992 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat