Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",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.001279/0.001278, allocations: 178.4 kB / 8.52 MB, free: 1.828 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.241/1.241, allocations: 221.4 MB / 230.3 MB, free: 7.637 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.0009223/0.0009222, allocations: 87.98 kB / 281.2 MB, free: 5.457 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.1902/0.1902, allocations: 44.14 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2492/0.4394, allocations: 68.05 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.5713, allocations: 61.9 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/1.76, allocations: 498.3 MB / 0.9808 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/1.761, allocations: 96.95 kB / 0.9809 GB, free: 133.2 MB / 0.5261 GB Error: Variable fitting1.geometry in package ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend is not constant. Error: Variable fitting2.geometry in package ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend is not constant. 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.7321/2.493, allocations: 223.9 MB / 1.2 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/2.493, allocations: 14.28 kB / 1.2 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/2.494, allocations: 147.8 kB / 1.2 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/2.495, allocations: 485.7 kB / 1.2 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/2.495, allocations: 12.88 kB / 1.2 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.392e-05/2.495, allocations: 23.94 kB / 1.2 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008006/2.496, allocations: 405.5 kB / 1.201 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008842/2.497, allocations: 0.4971 MB / 1.201 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/2.497, allocations: 4.719 kB / 1.201 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.777e-05/2.497, allocations: 2.5 kB / 1.201 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/2.497, allocations: 10.03 kB / 1.201 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/2.5, allocations: 2.625 MB / 1.204 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/2.501, allocations: 234.5 kB / 1.204 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/2.501, allocations: 129 kB / 1.204 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003444/2.501, allocations: 429.4 kB / 1.204 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/2.501, allocations: 44.45 kB / 1.204 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/2.501, allocations: 0 / 1.204 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.002509/2.504, allocations: 0.6824 MB / 1.205 GB, free: 119 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/2.504, allocations: 137.1 kB / 1.205 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/2.504, allocations: 372.1 kB / 1.206 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/2.504, allocations: 30.55 kB / 1.206 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/2.505, allocations: 241.2 kB / 1.206 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.28e-05/2.505, allocations: 108.6 kB / 1.206 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/2.505, allocations: 0 / 1.206 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.144e-05/2.505, allocations: 350.9 kB / 1.206 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/2.505, allocations: 159.2 kB / 1.206 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/2.505, allocations: 299.2 kB / 1.207 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/2.508, allocations: 0.5442 MB / 1.207 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/2.508, allocations: 5.219 kB / 1.207 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002833/2.51, allocations: 0.9075 MB / 1.208 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/2.51, allocations: 8.359 kB / 1.208 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/2.51, allocations: 2.656 kB / 1.208 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/2.511, allocations: 57.45 kB / 1.208 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/2.511, allocations: 144.9 kB / 1.208 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003835/2.515, allocations: 10.9 MB / 1.219 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005676/2.516, allocations: 59.84 kB / 1.219 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.84e-05/2.516, allocations: 44 kB / 1.219 GB, free: 105 MB / 0.5261 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.R_0:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.R_0 "Curvature radius" 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.R_0:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.R_0 "Curvature radius" 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 (54): * 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): 8 * 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: 8 {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.0002494/2.516, allocations: 157.8 kB / 1.219 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/2.516, allocations: 47.44 kB / 1.219 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/2.519, allocations: 1.421 MB / 1.221 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/2.519, allocations: 4 kB / 1.221 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/2.519, allocations: 0 / 1.221 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/2.519, allocations: 3.906 kB / 1.221 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/2.52, allocations: 1.131 MB / 1.222 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/2.52, allocations: 4 kB / 1.222 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/2.521, allocations: 56.12 kB / 1.222 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/2.521, allocations: 48.83 kB / 1.222 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/2.521, allocations: 4 kB / 1.222 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004435/2.521, allocations: 0.6186 MB / 1.222 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/2.521, allocations: 4 kB / 1.222 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001067/2.522, allocations: 0.6408 MB / 1.223 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001217/2.524, allocations: 1.053 MB / 1.224 GB, free: 99.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/2.524, allocations: 140.4 kB / 1.224 GB, free: 99.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/2.524, allocations: 4 kB / 1.224 GB, free: 99.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/2.524, allocations: 31.97 kB / 1.224 GB, free: 99.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/2.524, allocations: 27.81 kB / 1.224 GB, free: 99.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/2.524, allocations: 16 kB / 1.224 GB, free: 99.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003144/2.525, allocations: 311.2 kB / 1.225 GB, free: 98.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002609/2.527, allocations: 0.4938 MB / 1.225 GB, free: 98.45 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.002699/2.53, allocations: 1.322 MB / 1.226 GB, free: 97.26 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008008/2.531, allocations: 371.6 kB / 1.227 GB, free: 96.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/2.531, allocations: 0 / 1.227 GB, free: 96.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/2.531, allocations: 121.1 kB / 1.227 GB, free: 96.78 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/2.532, allocations: 201.8 kB / 1.227 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/2.534, allocations: 0.5828 MB / 1.228 GB, free: 95.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008472/2.534, allocations: 1.003 MB / 1.229 GB, free: 94.92 MB / 0.5261 GB Notification: Performance of SimCode: time 4.11e-07/2.534, allocations: 0 / 1.229 GB, free: 94.92 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1)