Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001781/0.001781, allocations: 202.5 kB / 8.541 MB, free: 1.75 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008653/0.0008654, allocations: 97.72 kB / 286.3 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1799/0.1799, allocations: 45.14 MB / 383.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2461/0.4261, allocations: 69.38 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.5277, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.587, allocations: 493.7 MB / 0.986 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/1.587, allocations: 101.9 kB / 0.9861 GB, free: 184.2 MB / 0.5261 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.6052/2.192, allocations: 212 MB / 1.193 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/2.192, allocations: 6.812 kB / 1.193 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/2.193, allocations: 138.2 kB / 1.193 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/2.195, allocations: 0.4896 MB / 1.194 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/2.195, allocations: 13.66 kB / 1.194 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-05/2.195, allocations: 24.47 kB / 1.194 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007453/2.195, allocations: 401.2 kB / 1.194 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008218/2.196, allocations: 0.5039 MB / 1.195 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/2.196, allocations: 4.594 kB / 1.195 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.04e-05/2.196, allocations: 2.688 kB / 1.195 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/2.196, allocations: 10.06 kB / 1.195 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003095/2.2, allocations: 2.641 MB / 1.197 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/2.2, allocations: 235.9 kB / 1.198 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/2.2, allocations: 129.6 kB / 1.198 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003637/2.201, allocations: 433.6 kB / 1.198 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/2.201, allocations: 43.95 kB / 1.198 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.374e-06/2.201, allocations: 3.906 kB / 1.198 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.002481/2.203, allocations: 0.6866 MB / 1.199 GB, free: 108 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/2.203, allocations: 135.9 kB / 1.199 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/2.204, allocations: 378 kB / 1.199 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/2.204, allocations: 25.7 kB / 1.199 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.566e-05/2.204, allocations: 246.6 kB / 1.2 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.69e-05/2.204, allocations: 99.19 kB / 1.2 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/2.204, allocations: 3.969 kB / 1.2 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/2.204, allocations: 355.1 kB / 1.2 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/2.204, allocations: 157.3 kB / 1.2 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/2.204, allocations: 287.9 kB / 1.2 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/2.206, allocations: 0.5481 MB / 1.201 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/2.206, allocations: 0 / 1.201 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002805/2.209, allocations: 0.9006 MB / 1.202 GB, free: 107 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/2.209, allocations: 3.719 kB / 1.202 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/2.209, allocations: 4.188 kB / 1.202 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/2.21, allocations: 51.42 kB / 1.202 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/2.21, allocations: 155.1 kB / 1.202 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004938/2.215, allocations: 13.46 MB / 1.215 GB, free: 93.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/2.216, allocations: 62.8 kB / 1.215 GB, free: 93.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.14e-05/2.216, allocations: 50.53 kB / 1.215 GB, free: 93.2 MB / 0.5261 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.0002881/2.216, allocations: 160.7 kB / 1.215 GB, free: 93.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.931e-05/2.216, allocations: 45.06 kB / 1.215 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/2.219, allocations: 1.432 MB / 1.217 GB, free: 92.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/2.219, allocations: 9.094 kB / 1.217 GB, free: 92.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/2.219, allocations: 3.5 kB / 1.217 GB, free: 92.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/2.219, allocations: 3.375 kB / 1.217 GB, free: 92.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/2.221, allocations: 1.143 MB / 1.218 GB, free: 92.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/2.221, allocations: 0 / 1.218 GB, free: 92.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/2.221, allocations: 51.78 kB / 1.218 GB, free: 92.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001534/2.221, allocations: 52.7 kB / 1.218 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/2.221, allocations: 6.625 kB / 1.218 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004344/2.221, allocations: 0.6146 MB / 1.219 GB, free: 91.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/2.221, allocations: 6 kB / 1.219 GB, free: 91.89 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001097/2.223, allocations: 0.6466 MB / 1.219 GB, free: 91.55 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001274/2.224, allocations: 1.046 MB / 1.22 GB, free: 90.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/2.224, allocations: 146.8 kB / 1.221 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.644e-05/2.224, allocations: 3.594 kB / 1.221 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/2.224, allocations: 32.38 kB / 1.221 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/2.225, allocations: 22.16 kB / 1.221 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/2.225, allocations: 22.69 kB / 1.221 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003399/2.225, allocations: 307.5 kB / 1.221 GB, free: 90.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002489/2.227, allocations: 448.8 kB / 1.221 GB, free: 90.59 MB / 0.5261 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.002386/2.23, allocations: 1.247 MB / 1.223 GB, free: 90.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007919/2.231, allocations: 357.8 kB / 1.223 GB, free: 90.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/2.231, allocations: 0 / 1.223 GB, free: 90.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/2.231, allocations: 131.1 kB / 1.223 GB, free: 90.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/2.232, allocations: 211.9 kB / 1.223 GB, free: 90.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/2.233, allocations: 0.5803 MB / 1.224 GB, free: 90.13 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009025/2.234, allocations: 1.013 MB / 1.225 GB, free: 89.42 MB / 0.5261 GB Notification: Performance of SimCode: time 3.1e-07/2.234, allocations: 7.25 kB / 1.225 GB, free: 89.42 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)