Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",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.001278/0.001278, allocations: 184.5 kB / 7.802 MB, free: 2.504 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.754/1.754, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.000944/0.000944, allocations: 91.72 kB / 261.4 MB, free: 13.52 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.2177/0.2177, allocations: 43.5 MB / 352.9 MB, free: 1.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2547/0.4724, allocations: 64.97 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.8646, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.401/2.265, allocations: 0.5783 GB / 1.044 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/2.266, allocations: 99.47 kB / 1.044 GB, free: 161.2 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.7917/3.057, allocations: 226.6 MB / 1.265 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/3.057, allocations: 7.875 kB / 1.265 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/3.059, allocations: 144.6 kB / 1.265 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/3.06, allocations: 0.4886 MB / 1.266 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/3.06, allocations: 14.97 kB / 1.266 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.69e-05/3.06, allocations: 21.25 kB / 1.266 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007237/3.061, allocations: 403.4 kB / 1.266 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008057/3.062, allocations: 0.4932 MB / 1.267 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/3.062, allocations: 0 / 1.267 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.798e-05/3.062, allocations: 5.688 kB / 1.267 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/3.062, allocations: 10.56 kB / 1.267 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003007/3.065, allocations: 2.659 MB / 1.269 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/3.065, allocations: 232.3 kB / 1.27 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/3.065, allocations: 128.2 kB / 1.27 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003493/3.066, allocations: 321 kB / 1.27 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/3.066, allocations: 36.78 kB / 1.27 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 2.084e-06/3.066, allocations: 1.219 kB / 1.27 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.002907/3.069, allocations: 0.8208 MB / 1.271 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/3.069, allocations: 134.9 kB / 1.271 GB, free: 107 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004454/3.069, allocations: 381.2 kB / 1.271 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/3.069, allocations: 25.7 kB / 1.271 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/3.069, allocations: 247.5 kB / 1.272 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.512e-05/3.069, allocations: 101.7 kB / 1.272 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/3.069, allocations: 0 / 1.272 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001127/3.07, allocations: 356.5 kB / 1.272 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/3.07, allocations: 155.8 kB / 1.272 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/3.07, allocations: 284.7 kB / 1.272 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/3.072, allocations: 0.6811 MB / 1.273 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/3.072, allocations: 0 / 1.273 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002876/3.075, allocations: 1.039 MB / 1.274 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/3.075, allocations: 6.031 kB / 1.274 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/3.075, allocations: 7.594 kB / 1.274 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/3.076, allocations: 50.81 kB / 1.274 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/3.076, allocations: 151.4 kB / 1.274 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005112/3.081, allocations: 13.47 MB / 1.287 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/3.082, allocations: 61.36 kB / 1.288 GB, free: 92.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.962e-05/3.082, allocations: 48.31 kB / 1.288 GB, free: 92.34 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.venaLength:VARIABLE(unit = "m" ) = fitting1.geometry.venaLength "Length of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.venaPerimeter:VARIABLE(unit = "m" ) = fitting1.geometry.venaPerimeter "Perimeter of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.venaCrossArea:VARIABLE(unit = "m2" ) = fitting1.geometry.venaCrossArea "Cross sectional area of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.perimeter:VARIABLE(unit = "m" ) = fitting1.geometry.perimeter "Inner perimeter" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.crossArea:VARIABLE(unit = "m2" ) = fitting1.geometry.crossArea "Inner cross sectional area" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.venaLength:VARIABLE(unit = "m" ) = fitting2.geometry.venaLength "Length of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.venaPerimeter:VARIABLE(unit = "m" ) = fitting2.geometry.venaPerimeter "Perimeter of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.venaCrossArea:VARIABLE(unit = "m2" ) = fitting2.geometry.venaCrossArea "Cross sectional area of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.perimeter:VARIABLE(unit = "m" ) = fitting2.geometry.perimeter "Inner perimeter" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.crossArea:VARIABLE(unit = "m2" ) = fitting2.geometry.crossArea "Inner cross sectional area" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002919/3.082, allocations: 163.3 kB / 1.288 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/3.082, allocations: 49.56 kB / 1.288 GB, free: 92.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/3.084, allocations: 0.7182 MB / 1.288 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/3.084, allocations: 0 / 1.288 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/3.084, allocations: 5.906 kB / 1.288 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/3.084, allocations: 0 / 1.288 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/3.086, allocations: 1.139 MB / 1.29 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/3.086, allocations: 0 / 1.29 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/3.086, allocations: 54.83 kB / 1.29 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001529/3.087, allocations: 46.84 kB / 1.29 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/3.087, allocations: 7.531 kB / 1.29 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004336/3.087, allocations: 0.6253 MB / 1.29 GB, free: 91.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/3.087, allocations: 7.078 kB / 1.29 GB, free: 91.06 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001109/3.088, allocations: 0.6451 MB / 1.291 GB, free: 90.71 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001286/3.09, allocations: 1.041 MB / 1.292 GB, free: 90.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/3.09, allocations: 151.2 kB / 1.292 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/3.09, allocations: 3.938 kB / 1.292 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/3.09, allocations: 31.11 kB / 1.292 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/3.09, allocations: 21.31 kB / 1.292 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/3.09, allocations: 19.44 kB / 1.292 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003947/3.091, allocations: 308.8 kB / 1.292 GB, free: 89.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002769/3.094, allocations: 498.3 kB / 1.293 GB, free: 89.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00254/3.096, allocations: 1.345 MB / 1.294 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008726/3.097, allocations: 367.7 kB / 1.295 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/3.097, allocations: 0 / 1.295 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/3.097, allocations: 129.5 kB / 1.295 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/3.098, allocations: 210.6 kB / 1.295 GB, free: 89.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/3.1, allocations: 0.5786 MB / 1.296 GB, free: 89.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000782/3.101, allocations: 0.9849 MB / 1.296 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of SimCode: time 4.9e-07/3.101, allocations: 0 / 1.296 GB, free: 88.61 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat