Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",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.001124/0.001125, allocations: 175.9 kB / 8.519 MB, free: 1.852 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.245/1.245, allocations: 221.4 MB / 230.3 MB, free: 7.773 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.0009429/0.0009428, allocations: 84.73 kB / 281.2 MB, free: 5.535 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.1865/0.1865, allocations: 44.15 MB / 376.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2348/0.4213, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.5521, allocations: 61.91 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.696, allocations: 497.4 MB / 0.98 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/1.696, allocations: 98.27 kB / 0.98 GB, free: 106.3 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.6923/2.389, allocations: 218.8 MB / 1.194 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/2.389, allocations: 13.19 kB / 1.194 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/2.39, allocations: 147.1 kB / 1.194 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009839/2.391, allocations: 480.2 kB / 1.194 GB, free: 89.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/2.391, allocations: 12 kB / 1.194 GB, free: 89.45 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/2.391, allocations: 24 kB / 1.194 GB, free: 89.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007464/2.392, allocations: 397.9 kB / 1.195 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008633/2.393, allocations: 0.4931 MB / 1.195 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/2.393, allocations: 7.906 kB / 1.195 GB, free: 88.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-05/2.393, allocations: 0 / 1.195 GB, free: 88.49 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/2.393, allocations: 12 kB / 1.195 GB, free: 88.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/2.396, allocations: 2.624 MB / 1.198 GB, free: 85.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/2.396, allocations: 238.2 kB / 1.198 GB, free: 85.44 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/2.397, allocations: 132.8 kB / 1.198 GB, free: 85.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003489/2.397, allocations: 433.5 kB / 1.199 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/2.397, allocations: 34.56 kB / 1.199 GB, free: 84.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/2.397, allocations: 0 / 1.199 GB, free: 84.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.002505/2.4, allocations: 0.6819 MB / 1.199 GB, free: 84.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/2.4, allocations: 136.5 kB / 1.199 GB, free: 83.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/2.4, allocations: 353 kB / 1.2 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/2.4, allocations: 29.7 kB / 1.2 GB, free: 83.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/2.4, allocations: 239.6 kB / 1.2 GB, free: 83.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.265e-05/2.4, allocations: 106.4 kB / 1.2 GB, free: 83.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/2.4, allocations: 0 / 1.2 GB, free: 83.17 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.897e-05/2.4, allocations: 358.7 kB / 1.2 GB, free: 82.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/2.401, allocations: 145 kB / 1.201 GB, free: 82.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/2.401, allocations: 271.6 kB / 1.201 GB, free: 82.35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/2.403, allocations: 0.5342 MB / 1.201 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/2.403, allocations: 0 / 1.201 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002652/2.406, allocations: 0.8638 MB / 1.202 GB, free: 80.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/2.406, allocations: 4.438 kB / 1.202 GB, free: 80.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/2.406, allocations: 8 kB / 1.202 GB, free: 80.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002536/2.406, allocations: 48.83 kB / 1.202 GB, free: 80.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/2.406, allocations: 131.8 kB / 1.202 GB, free: 80.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/2.41, allocations: 8.318 MB / 1.211 GB, free: 71.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006401/2.411, allocations: 55.77 kB / 1.211 GB, free: 71.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/2.411, allocations: 47.98 kB / 1.211 GB, free: 71.63 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.K:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.delta:VARIABLE(unit = "rad" ) = fitting1.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.d_hyd "Hydraulic diameter" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.K:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.delta:VARIABLE(unit = "rad" ) = fitting2.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.d_hyd "Hydraulic diameter" 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 (52): * 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): 6 * 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: 6 {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.0003493/2.411, allocations: 138 kB / 1.211 GB, free: 71.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/2.412, allocations: 43.53 kB / 1.211 GB, free: 71.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/2.414, allocations: 1.435 MB / 1.212 GB, free: 70 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/2.414, allocations: 4 kB / 1.212 GB, free: 70 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/2.414, allocations: 0 / 1.212 GB, free: 70 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/2.414, allocations: 3.984 kB / 1.212 GB, free: 70 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/2.416, allocations: 1.112 MB / 1.213 GB, free: 68.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/2.416, allocations: 4 kB / 1.213 GB, free: 68.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/2.417, allocations: 51.91 kB / 1.213 GB, free: 68.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001422/2.417, allocations: 44.83 kB / 1.213 GB, free: 68.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/2.417, allocations: 11.91 kB / 1.213 GB, free: 68.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004652/2.417, allocations: 0.6188 MB / 1.214 GB, free: 68.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/2.417, allocations: 0 / 1.214 GB, free: 68.03 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00111/2.418, allocations: 0.6255 MB / 1.215 GB, free: 67.32 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001294/2.42, allocations: 1.04 MB / 1.216 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/2.42, allocations: 140.5 kB / 1.216 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/2.42, allocations: 7.891 kB / 1.216 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/2.42, allocations: 35.91 kB / 1.216 GB, free: 66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/2.42, allocations: 19.92 kB / 1.216 GB, free: 65.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.49e-05/2.421, allocations: 23.92 kB / 1.216 GB, free: 65.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003372/2.421, allocations: 295.2 kB / 1.216 GB, free: 65.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002601/2.423, allocations: 0.4915 MB / 1.217 GB, free: 65.18 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.002386/2.426, allocations: 1.309 MB / 1.218 GB, free: 64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006598/2.427, allocations: 336.5 kB / 1.218 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/2.427, allocations: 4.125 kB / 1.218 GB, free: 63.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/2.427, allocations: 119.8 kB / 1.218 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/2.428, allocations: 210 kB / 1.219 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/2.429, allocations: 0.5738 MB / 1.219 GB, free: 62.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007501/2.43, allocations: 1.011 MB / 1.22 GB, free: 61.68 MB / 0.5105 GB Notification: Performance of SimCode: time 3.11e-07/2.43, allocations: 0 / 1.22 GB, free: 61.68 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)