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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.002138/0.002138, allocations: 188.5 kB / 7.803 MB, free: 2.488 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.564/1.564, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.00098/0.0009799, allocations: 95.42 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.2216/0.2216, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2513/0.4729, allocations: 64.98 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4619/0.9349, allocations: 58.84 MB / 476.7 MB, free: 5.32 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1891/1.124, allocations: 90.17 MB / 0.5536 GB, free: 8.824 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/1.124, allocations: 95.44 kB / 0.5536 GB, free: 8.734 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.02269/1.147, allocations: 6.13 MB / 0.5596 GB, free: 2.461 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.147, allocations: 11.94 kB / 0.5596 GB, free: 2.449 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/1.149, allocations: 195.3 kB / 0.5598 GB, free: 2.258 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006217/1.15, allocations: 268.4 kB / 0.5601 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.484e-05/1.15, allocations: 16 kB / 0.5601 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.22e-05/1.15, allocations: 16 kB / 0.5601 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001169/1.151, allocations: 0.5242 MB / 0.5606 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009548/1.152, allocations: 423.8 kB / 0.561 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/1.152, allocations: 0 / 0.561 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/1.152, allocations: 4 kB / 0.561 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-05/1.152, allocations: 20.64 kB / 0.5611 GB, free: 0.957 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003112/1.155, allocations: 1.086 MB / 0.5621 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/1.156, allocations: 114.5 kB / 0.5622 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/1.156, allocations: 52.83 kB / 0.5623 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/1.156, allocations: 3.938 kB / 0.5623 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/1.156, allocations: 30.56 kB / 0.5623 GB, free: 15.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/1.156, allocations: 4 kB / 0.5623 GB, free: 15.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.000632/1.157, allocations: 145.7 kB / 0.5625 GB, free: 15.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/1.157, allocations: 51.41 kB / 0.5625 GB, free: 15.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/1.157, allocations: 132.8 kB / 0.5626 GB, free: 15.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/1.157, allocations: 29.69 kB / 0.5627 GB, free: 15.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/1.157, allocations: 175.6 kB / 0.5628 GB, free: 15.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/1.157, allocations: 27.64 kB / 0.5629 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/1.157, allocations: 0 / 0.5629 GB, free: 14.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002068/1.158, allocations: 318.8 kB / 0.5632 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/1.158, allocations: 51.97 kB / 0.5632 GB, free: 14.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/1.158, allocations: 83.39 kB / 0.5633 GB, free: 14.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/1.158, allocations: 63.89 kB / 0.5633 GB, free: 14.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/1.158, allocations: 4 kB / 0.5633 GB, free: 14.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006105/1.159, allocations: 181.3 kB / 0.5635 GB, free: 14.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/1.159, allocations: 4 kB / 0.5635 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/1.159, allocations: 3.984 kB / 0.5635 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/1.159, allocations: 4 kB / 0.5635 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007795/1.167, allocations: 455.4 kB / 0.564 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004804/1.172, allocations: 1.961 MB / 0.5659 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006038/1.172, allocations: 23.97 kB / 0.5659 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/1.172, allocations: 7.984 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: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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.0002067/1.173, allocations: 110.4 kB / 0.566 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/1.173, allocations: 11.91 kB / 0.566 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/1.173, allocations: 8.5 kB / 0.566 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/1.173, allocations: 4 kB / 0.566 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.173, allocations: 4 kB / 0.566 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/1.173, allocations: 3.984 kB / 0.566 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005741/1.173, allocations: 257.9 kB / 0.5663 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.173, allocations: 0 / 0.5663 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007467/1.181, allocations: 448 kB / 0.5667 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/1.181, allocations: 7.984 kB / 0.5667 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/1.181, allocations: 0 / 0.5667 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004607/1.186, allocations: 1.965 MB / 0.5686 GB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.186, allocations: 0 / 0.5686 GB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005134/1.186, allocations: 235.6 kB / 0.5689 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007272/1.187, allocations: 0.6131 MB / 0.5695 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.339e-05/1.187, allocations: 88.95 kB / 0.5696 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/1.187, allocations: 0 / 0.5696 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005272/1.188, allocations: 23.97 kB / 0.5696 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/1.188, allocations: 7.984 kB / 0.5696 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/1.188, allocations: 11.98 kB / 0.5696 GB, free: 7.809 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001018/1.188, allocations: 99.78 kB / 0.5697 GB, free: 7.711 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001588/1.189, allocations: 87.59 kB / 0.5698 GB, free: 7.625 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 (7): * Single equations (assignments): 4 * 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.0004015/1.19, allocations: 137.2 kB / 0.5699 GB, free: 7.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01063/1.201, allocations: 0.6124 MB / 0.5705 GB, free: 6.867 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.201, allocations: 0 / 0.5705 GB, free: 6.867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01004/1.211, allocations: 0.5465 MB / 0.571 GB, free: 6.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/1.211, allocations: 10.78 kB / 0.5711 GB, free: 6.312 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/1.212, allocations: 315.6 kB / 0.5714 GB, free: 5.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006862/1.213, allocations: 0.8128 MB / 0.5721 GB, free: 5.141 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/1.213, allocations: 0 / 0.5721 GB, free: 5.141 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat