Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001165/0.001165, allocations: 204.8 kB / 8.543 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.16/1.16, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009617/0.0009619, allocations: 90.59 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1698/0.1698, allocations: 45.15 MB / 383.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2584/0.4281, allocations: 69.39 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.554, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.366/0.9201, allocations: 91.49 MB / 0.5932 GB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.9204, allocations: 94.08 kB / 0.5933 GB, free: 11.27 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.01793/0.9384, allocations: 6.224 MB / 0.5994 GB, free: 5.883 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.9384, allocations: 8 kB / 0.5994 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.9395, allocations: 158 kB / 0.5996 GB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.9398, allocations: 257.4 kB / 0.5998 GB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.9398, allocations: 8 kB / 0.5998 GB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.9399, allocations: 12 kB / 0.5998 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004654/0.9404, allocations: 339 kB / 0.6001 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.9409, allocations: 404 kB / 0.6005 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.9409, allocations: 0 / 0.6005 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.9409, allocations: 4 kB / 0.6005 GB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.941, allocations: 24.48 kB / 0.6006 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.9429, allocations: 1.645 MB / 0.6022 GB, free: 3.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.9431, allocations: 78.31 kB / 0.6022 GB, free: 3.066 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.9432, allocations: 36.58 kB / 0.6023 GB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.9432, allocations: 15.25 kB / 0.6023 GB, free: 3.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.9432, allocations: 30.56 kB / 0.6023 GB, free: 2.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.9432, allocations: 0 / 0.6023 GB, free: 2.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002846/0.9435, allocations: 108.5 kB / 0.6024 GB, free: 2.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.9436, allocations: 55.41 kB / 0.6025 GB, free: 2.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.9437, allocations: 198.6 kB / 0.6027 GB, free: 2.633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.9438, allocations: 25.7 kB / 0.6027 GB, free: 2.602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.9439, allocations: 185.8 kB / 0.6029 GB, free: 2.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.9439, allocations: 31.31 kB / 0.6029 GB, free: 2.402 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.9439, allocations: 0 / 0.6029 GB, free: 2.402 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.944, allocations: 322.7 kB / 0.6032 GB, free: 2.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.9441, allocations: 54.28 kB / 0.6033 GB, free: 2.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.9443, allocations: 107.8 kB / 0.6034 GB, free: 1.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.9444, allocations: 75.38 kB / 0.6034 GB, free: 1.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.9444, allocations: 0 / 0.6034 GB, free: 1.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003488/0.9448, allocations: 190.4 kB / 0.6036 GB, free: 1.695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.9448, allocations: 8 kB / 0.6036 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.9448, allocations: 8.172 kB / 0.6036 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.9448, allocations: 4 kB / 0.6036 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.9465, allocations: 126.6 kB / 0.6037 GB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.9484, allocations: 1.872 MB / 0.6056 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.9486, allocations: 23.86 kB / 0.6056 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.9487, allocations: 11.31 kB / 0.6056 GB, free: 15.6 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.535e-05/0.9488, allocations: 108.8 kB / 0.6057 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.9488, allocations: 15.81 kB / 0.6057 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003805/0.9492, allocations: 171.3 kB / 0.6059 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.9492, allocations: 7.938 kB / 0.6059 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.9492, allocations: 0 / 0.6059 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.9492, allocations: 3.984 kB / 0.6059 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.9495, allocations: 233.5 kB / 0.6061 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.9495, allocations: 0 / 0.6061 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.9508, allocations: 103.9 kB / 0.6062 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.9508, allocations: 3.984 kB / 0.6062 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.9508, allocations: 4 kB / 0.6062 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.9521, allocations: 1.811 MB / 0.608 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9521, allocations: 0 / 0.608 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002604/0.9524, allocations: 221.4 kB / 0.6082 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003768/0.9528, allocations: 0.5953 MB / 0.6088 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.9529, allocations: 92.91 kB / 0.6089 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.9529, allocations: 0 / 0.6089 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.9531, allocations: 11.98 kB / 0.6089 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.9532, allocations: 4 kB / 0.6089 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.9532, allocations: 0 / 0.6089 GB, free: 12.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001147/0.9533, allocations: 161.6 kB / 0.6091 GB, free: 12.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009124/0.9542, allocations: 86.94 kB / 0.6091 GB, free: 11.94 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.0001942/0.9544, allocations: 128.1 kB / 0.6093 GB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002064/0.9565, allocations: 205.8 kB / 0.6095 GB, free: 11.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9565, allocations: 0 / 0.6095 GB, free: 11.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001905/0.9584, allocations: 93.67 kB / 0.6095 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.9588, allocations: 10.55 kB / 0.6096 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.96, allocations: 329.1 kB / 0.6099 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006127/0.9607, allocations: 0.8037 MB / 0.6107 GB, free: 10.39 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.9607, allocations: 4 kB / 0.6107 GB, free: 10.38 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat