Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 182.5 kB / 8.523 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 221.4 MB / 230.3 MB, free: 7.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 84.72 kB / 281.2 MB, free: 5.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1815/0.1815, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2413/0.4228, allocations: 68.05 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.5536, allocations: 61.91 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.124/1.678, allocations: 492.7 MB / 0.9753 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/1.678, allocations: 95.78 kB / 0.9754 GB, free: 126 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.6678/2.346, allocations: 212 MB / 1.182 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/2.346, allocations: 15.03 kB / 1.182 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/2.347, allocations: 140.7 kB / 1.183 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/2.348, allocations: 0.4928 MB / 1.183 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/2.348, allocations: 14.31 kB / 1.183 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/2.348, allocations: 22.75 kB / 1.183 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008331/2.349, allocations: 403.9 kB / 1.183 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008215/2.35, allocations: 0.4944 MB / 1.184 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/2.35, allocations: 5 kB / 1.184 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/2.35, allocations: 2.188 kB / 1.184 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/2.35, allocations: 14.59 kB / 1.184 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/2.353, allocations: 2.626 MB / 1.187 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/2.354, allocations: 235.2 kB / 1.187 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/2.354, allocations: 126 kB / 1.187 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/2.354, allocations: 438.2 kB / 1.187 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/2.354, allocations: 41.56 kB / 1.187 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/2.354, allocations: 2.406 kB / 1.187 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.00263/2.357, allocations: 0.6975 MB / 1.188 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/2.357, allocations: 135.7 kB / 1.188 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004341/2.358, allocations: 378.5 kB / 1.188 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/2.358, allocations: 26.77 kB / 1.189 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/2.358, allocations: 245.7 kB / 1.189 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/2.358, allocations: 104.1 kB / 1.189 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/2.358, allocations: 0.5 kB / 1.189 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/2.358, allocations: 353.2 kB / 1.189 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/2.358, allocations: 158.7 kB / 1.189 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/2.359, allocations: 295.7 kB / 1.19 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/2.361, allocations: 0.5477 MB / 1.19 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/2.361, allocations: 0 / 1.19 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002641/2.363, allocations: 0.9045 MB / 1.191 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/2.363, allocations: 12.02 kB / 1.191 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/2.363, allocations: 4 kB / 1.191 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002689/2.364, allocations: 44.84 kB / 1.191 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/2.364, allocations: 143.9 kB / 1.191 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005543/2.37, allocations: 13.48 MB / 1.204 GB, free: 87.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/2.37, allocations: 59.67 kB / 1.204 GB, free: 87.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.219e-05/2.371, allocations: 47.98 kB / 1.204 GB, free: 87.4 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.0002784/2.371, allocations: 159.8 kB / 1.205 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/2.371, allocations: 50.5 kB / 1.205 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/2.373, allocations: 1.43 MB / 1.206 GB, free: 85.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/2.373, allocations: 4 kB / 1.206 GB, free: 85.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/2.373, allocations: 0 / 1.206 GB, free: 85.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/2.373, allocations: 0 / 1.206 GB, free: 85.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/2.375, allocations: 1.135 MB / 1.207 GB, free: 84.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/2.375, allocations: 8 kB / 1.207 GB, free: 84.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/2.375, allocations: 55.91 kB / 1.207 GB, free: 84.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001532/2.376, allocations: 44.83 kB / 1.207 GB, free: 84.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/2.376, allocations: 8 kB / 1.207 GB, free: 84.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004219/2.376, allocations: 0.6227 MB / 1.208 GB, free: 83.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/2.376, allocations: 3.906 kB / 1.208 GB, free: 83.77 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001073/2.377, allocations: 0.6451 MB / 1.209 GB, free: 83.04 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001224/2.378, allocations: 1.044 MB / 1.21 GB, free: 81.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/2.379, allocations: 148.4 kB / 1.21 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/2.379, allocations: 4 kB / 1.21 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/2.379, allocations: 27.97 kB / 1.21 GB, free: 81.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/2.379, allocations: 27.88 kB / 1.21 GB, free: 81.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/2.379, allocations: 15.98 kB / 1.21 GB, free: 81.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003418/2.38, allocations: 303.2 kB / 1.21 GB, free: 81.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002545/2.382, allocations: 447.3 kB / 1.211 GB, free: 80.95 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.002122/2.384, allocations: 1.25 MB / 1.212 GB, free: 79.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007648/2.385, allocations: 360 kB / 1.212 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/2.385, allocations: 4 kB / 1.212 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/2.385, allocations: 129 kB / 1.212 GB, free: 79.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/2.386, allocations: 213.7 kB / 1.212 GB, free: 79.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/2.388, allocations: 0.5756 MB / 1.213 GB, free: 78.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007935/2.389, allocations: 1.015 MB / 1.214 GB, free: 77.48 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/2.389, allocations: 0 / 1.214 GB, free: 77.48 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)