Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001394/0.001394, allocations: 199.8 kB / 8.535 MB, free: 460 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 225.5 MB / 234.4 MB, free: 9.5 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009528/0.0009529, allocations: 97.64 kB / 286.3 MB, free: 5.836 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.183/0.183, allocations: 45.14 MB / 383.3 MB, free: 4.891 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1815/0.3646, allocations: 69.38 MB / 452.7 MB, free: 48.22 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.4805, allocations: 63.24 MB / 0.5039 GB, free: 0.9102 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.551, allocations: 499.3 MB / 0.9915 GB, free: 138.3 MB / 0.5339 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/1.551, allocations: 91.94 kB / 0.9916 GB, free: 138.2 MB / 0.5339 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.6335/2.184, allocations: 224 MB / 1.21 GB, free: 123.6 MB / 0.5339 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/2.185, allocations: 10.81 kB / 1.21 GB, free: 123.6 MB / 0.5339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/2.186, allocations: 141.7 kB / 1.211 GB, free: 123.6 MB / 0.5339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009886/2.187, allocations: 495.4 kB / 1.211 GB, free: 123.2 MB / 0.5339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/2.187, allocations: 16.84 kB / 1.211 GB, free: 123.2 MB / 0.5339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.231e-05/2.187, allocations: 24.06 kB / 1.211 GB, free: 123.2 MB / 0.5339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000789/2.188, allocations: 401.5 kB / 1.211 GB, free: 123 MB / 0.5339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007757/2.188, allocations: 0.4926 MB / 1.212 GB, free: 122.7 MB / 0.5339 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/2.188, allocations: 2.281 kB / 1.212 GB, free: 122.7 MB / 0.5339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/2.188, allocations: 2.75 kB / 1.212 GB, free: 122.7 MB / 0.5339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/2.188, allocations: 14 kB / 1.212 GB, free: 122.7 MB / 0.5339 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/2.191, allocations: 2.635 MB / 1.214 GB, free: 120.3 MB / 0.5339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/2.191, allocations: 226.2 kB / 1.215 GB, free: 120.2 MB / 0.5339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/2.191, allocations: 130.7 kB / 1.215 GB, free: 120.1 MB / 0.5339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/2.192, allocations: 429.6 kB / 1.215 GB, free: 119.6 MB / 0.5339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/2.192, allocations: 45.23 kB / 1.215 GB, free: 119.6 MB / 0.5339 GB Notification: Performance of pre-optimization done (n=30): time 1.943e-06/2.192, allocations: 2.812 kB / 1.215 GB, free: 119.6 MB / 0.5339 GB Notification: Performance of matching and sorting (n=30): time 0.002364/2.194, allocations: 0.6847 MB / 1.216 GB, free: 119.2 MB / 0.5339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/2.194, allocations: 135.9 kB / 1.216 GB, free: 119.1 MB / 0.5339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/2.195, allocations: 369 kB / 1.216 GB, free: 118.9 MB / 0.5339 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/2.195, allocations: 26.36 kB / 1.216 GB, free: 118.8 MB / 0.5339 GB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/2.195, allocations: 244.8 kB / 1.217 GB, free: 118.6 MB / 0.5339 GB Notification: Performance of collectInitialBindings (initialization): time 6.521e-05/2.195, allocations: 105.1 kB / 1.217 GB, free: 118.5 MB / 0.5339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/2.195, allocations: 0 / 1.217 GB, free: 118.5 MB / 0.5339 GB Notification: Performance of setup shared object (initialization): time 6.991e-05/2.195, allocations: 352.2 kB / 1.217 GB, free: 118.2 MB / 0.5339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/2.195, allocations: 165.1 kB / 1.217 GB, free: 118.1 MB / 0.5339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/2.195, allocations: 299 kB / 1.218 GB, free: 117.9 MB / 0.5339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/2.198, allocations: 0.5459 MB / 1.218 GB, free: 117.6 MB / 0.5339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/2.198, allocations: 1.094 kB / 1.218 GB, free: 117.6 MB / 0.5339 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002708/2.2, allocations: 0.9153 MB / 1.219 GB, free: 117.1 MB / 0.5339 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/2.2, allocations: 5.25 kB / 1.219 GB, free: 117.1 MB / 0.5339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/2.2, allocations: 2.906 kB / 1.219 GB, free: 117.1 MB / 0.5339 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/2.2, allocations: 48.23 kB / 1.219 GB, free: 117.1 MB / 0.5339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/2.201, allocations: 145.6 kB / 1.219 GB, free: 117.1 MB / 0.5339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003707/2.205, allocations: 10.9 MB / 1.23 GB, free: 105.6 MB / 0.5339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/2.205, allocations: 66.02 kB / 1.23 GB, free: 105.5 MB / 0.5339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.868e-05/2.205, allocations: 47.8 kB / 1.23 GB, free: 105.5 MB / 0.5339 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.0002365/2.206, allocations: 149.8 kB / 1.23 GB, free: 105.4 MB / 0.5339 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.857e-05/2.206, allocations: 46.53 kB / 1.23 GB, free: 105.4 MB / 0.5339 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/2.208, allocations: 1.419 MB / 1.232 GB, free: 104.6 MB / 0.5339 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/2.208, allocations: 6.656 kB / 1.232 GB, free: 104.6 MB / 0.5339 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/2.208, allocations: 0 / 1.232 GB, free: 104.6 MB / 0.5339 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/2.208, allocations: 5.141 kB / 1.232 GB, free: 104.6 MB / 0.5339 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/2.21, allocations: 1.12 MB / 1.233 GB, free: 103.7 MB / 0.5339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/2.21, allocations: 6.719 kB / 1.233 GB, free: 103.7 MB / 0.5339 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/2.21, allocations: 52.53 kB / 1.233 GB, free: 103.7 MB / 0.5339 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001391/2.21, allocations: 45.05 kB / 1.233 GB, free: 103.7 MB / 0.5339 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/2.21, allocations: 8.312 kB / 1.233 GB, free: 103.7 MB / 0.5339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004342/2.211, allocations: 0.6237 MB / 1.233 GB, free: 103.1 MB / 0.5339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/2.211, allocations: 2.25 kB / 1.233 GB, free: 103.1 MB / 0.5339 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001072/2.212, allocations: 0.6454 MB / 1.234 GB, free: 102.6 MB / 0.5339 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001239/2.213, allocations: 1.05 MB / 1.235 GB, free: 101.6 MB / 0.5339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/2.213, allocations: 154 kB / 1.235 GB, free: 101.5 MB / 0.5339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-05/2.213, allocations: 3.844 kB / 1.235 GB, free: 101.5 MB / 0.5339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/2.214, allocations: 33.06 kB / 1.235 GB, free: 101.5 MB / 0.5339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/2.214, allocations: 18.09 kB / 1.235 GB, free: 101.4 MB / 0.5339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/2.214, allocations: 15.09 kB / 1.235 GB, free: 101.4 MB / 0.5339 GB Notification: Performance of sort global known variables: time 0.000314/2.214, allocations: 309.3 kB / 1.235 GB, free: 101.3 MB / 0.5339 GB Notification: Performance of remove unused functions: time 0.002492/2.217, allocations: 0.5325 MB / 1.236 GB, free: 101 MB / 0.5339 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.00218/2.219, allocations: 1.336 MB / 1.237 GB, free: 100.1 MB / 0.5339 GB Notification: Performance of simCode: created initialization part: time 0.0006389/2.22, allocations: 364 kB / 1.238 GB, free: 99.78 MB / 0.5339 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/2.22, allocations: 0 / 1.238 GB, free: 99.78 MB / 0.5339 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/2.22, allocations: 129 kB / 1.238 GB, free: 99.65 MB / 0.5339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/2.221, allocations: 221.9 kB / 1.238 GB, free: 99.44 MB / 0.5339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/2.222, allocations: 0.5749 MB / 1.239 GB, free: 98.82 MB / 0.5339 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007242/2.223, allocations: 1.004 MB / 1.24 GB, free: 97.78 MB / 0.5339 GB Notification: Performance of SimCode: time 3.01e-07/2.223, allocations: 0 / 1.24 GB, free: 97.78 MB / 0.5339 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1)