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_idealGas_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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001318/0.001318, 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.599/1.599, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009481/0.000948, allocations: 91.41 kB / 261.4 MB, free: 13.55 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.2095/0.2095, allocations: 43.48 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2488/0.4584, allocations: 64.99 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.8549, allocations: 58.84 MB / 476.7 MB, free: 5.324 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/1, allocations: 89.3 MB / 0.5527 GB, free: 9.684 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/1.001, allocations: 95.44 kB / 0.5528 GB, free: 9.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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.01745/1.018, allocations: 6.02 MB / 0.5587 GB, free: 3.453 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/1.018, allocations: 12 kB / 0.5587 GB, free: 3.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/1.019, allocations: 155.5 kB / 0.5588 GB, free: 3.289 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/1.02, allocations: 257.8 kB / 0.5591 GB, free: 3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/1.02, allocations: 4 kB / 0.5591 GB, free: 2.996 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/1.02, allocations: 12 kB / 0.5591 GB, free: 2.984 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005336/1.02, allocations: 348.8 kB / 0.5594 GB, free: 2.645 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/1.021, allocations: 393.1 kB / 0.5598 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/1.021, allocations: 4 kB / 0.5598 GB, free: 2.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/1.021, allocations: 3.984 kB / 0.5598 GB, free: 2.211 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-05/1.021, allocations: 24.48 kB / 0.5598 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/1.023, allocations: 1.625 MB / 0.5614 GB, free: 460 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/1.023, allocations: 90.47 kB / 0.5615 GB, free: 360 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.691e-05/1.024, allocations: 40.83 kB / 0.5616 GB, free: 316 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/1.024, allocations: 8.141 kB / 0.5616 GB, free: 308 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/1.024, allocations: 30.56 kB / 0.5616 GB, free: 268 kB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/1.024, allocations: 0 / 0.5616 GB, free: 268 kB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003456/1.024, allocations: 109.5 kB / 0.5617 GB, free: 152 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/1.024, allocations: 55.34 kB / 0.5617 GB, free: 84 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/1.024, allocations: 202.6 kB / 0.5619 GB, free: 15.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/1.024, allocations: 25.7 kB / 0.562 GB, free: 15.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/1.024, allocations: 179.5 kB / 0.5621 GB, free: 15.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/1.024, allocations: 31.64 kB / 0.5622 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/1.024, allocations: 0 / 0.5622 GB, free: 15.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/1.025, allocations: 326.7 kB / 0.5625 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/1.025, allocations: 59.91 kB / 0.5625 GB, free: 15.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/1.025, allocations: 102 kB / 0.5626 GB, free: 15.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/1.025, allocations: 71.95 kB / 0.5627 GB, free: 15.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/1.025, allocations: 4 kB / 0.5627 GB, free: 15.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003564/1.025, allocations: 201.3 kB / 0.5629 GB, free: 14.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.025, allocations: 4 kB / 0.5629 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.025, allocations: 192 / 0.5629 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.025, allocations: 8 kB / 0.5629 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/1.027, allocations: 123.7 kB / 0.563 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/1.029, allocations: 1.875 MB / 0.5649 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/1.029, allocations: 15.84 kB / 0.5649 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/1.029, allocations: 12 kB / 0.5649 GB, free: 12.74 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 0.0001057/1.029, allocations: 114.2 kB / 0.565 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/1.029, allocations: 11.91 kB / 0.565 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/1.03, allocations: 166.9 kB / 0.5652 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.03, allocations: 4 kB / 0.5652 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.03, allocations: 0 / 0.5652 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.03, allocations: 0 / 0.5652 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/1.03, allocations: 242 kB / 0.5654 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.03, allocations: 0 / 0.5654 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/1.031, allocations: 100.7 kB / 0.5655 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.031, allocations: 0 / 0.5655 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/1.032, allocations: 0 / 0.5655 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/1.033, allocations: 1.805 MB / 0.5673 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.033, allocations: 4 kB / 0.5673 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002961/1.033, allocations: 231.1 kB / 0.5675 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004424/1.034, allocations: 0.5935 MB / 0.5681 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/1.034, allocations: 92.86 kB / 0.5681 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/1.034, allocations: 0 / 0.5681 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/1.034, allocations: 15.98 kB / 0.5682 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/1.034, allocations: 7.984 kB / 0.5682 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/1.034, allocations: 4 kB / 0.5682 GB, free: 9.195 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001416/1.034, allocations: 159.5 kB / 0.5683 GB, free: 9.039 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009923/1.035, allocations: 83.67 kB / 0.5684 GB, free: 8.957 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.0002426/1.035, allocations: 141.4 kB / 0.5685 GB, free: 8.812 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001835/1.037, allocations: 203.7 kB / 0.5687 GB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.037, allocations: 0 / 0.5687 GB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/1.038, allocations: 99.84 kB / 0.5688 GB, free: 8.516 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/1.039, allocations: 16.11 kB / 0.5688 GB, free: 8.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009016/1.04, allocations: 324.1 kB / 0.5692 GB, free: 8.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/1.04, allocations: 0.816 MB / 0.57 GB, free: 7.32 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/1.04, allocations: 4 kB / 0.57 GB, free: 7.316 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat