Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001118/0.001119, allocations: 199.2 kB / 8.539 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009244/0.0009244, allocations: 93.41 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.202/0.202, allocations: 45.15 MB / 383.4 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2412/0.4433, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.5507, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.046/1.597, allocations: 498.5 MB / 0.9907 GB, free: 178.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/1.597, allocations: 100.1 kB / 0.9908 GB, free: 178.6 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.6155/2.212, allocations: 218.9 MB / 1.204 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/2.212, allocations: 7.594 kB / 1.205 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/2.213, allocations: 142.9 kB / 1.205 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006898/2.214, allocations: 479.5 kB / 1.205 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/2.214, allocations: 15.44 kB / 1.205 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/2.214, allocations: 21.28 kB / 1.205 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005936/2.215, allocations: 395.6 kB / 1.206 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000664/2.215, allocations: 0.4996 MB / 1.206 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/2.215, allocations: 0 / 1.206 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/2.216, allocations: 9.219 kB / 1.206 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/2.216, allocations: 11.12 kB / 1.206 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/2.218, allocations: 2.615 MB / 1.209 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/2.218, allocations: 239.5 kB / 1.209 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/2.218, allocations: 134 kB / 1.209 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/2.219, allocations: 431.3 kB / 1.209 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/2.219, allocations: 37.88 kB / 1.209 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/2.219, allocations: 0 / 1.209 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.002358/2.221, allocations: 0.6815 MB / 1.21 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/2.221, allocations: 132.4 kB / 1.21 GB, free: 109 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/2.222, allocations: 357 kB / 1.211 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/2.222, allocations: 25.7 kB / 1.211 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.892e-05/2.222, allocations: 238 kB / 1.211 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.876e-05/2.222, allocations: 107.9 kB / 1.211 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/2.222, allocations: 3.938 kB / 1.211 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.328e-05/2.222, allocations: 349.9 kB / 1.211 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/2.222, allocations: 142.7 kB / 1.211 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/2.222, allocations: 282.8 kB / 1.212 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/2.224, allocations: 0.5221 MB / 1.212 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/2.224, allocations: 3.875 kB / 1.212 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002619/2.227, allocations: 0.863 MB / 1.213 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/2.227, allocations: 6.594 kB / 1.213 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-06/2.227, allocations: 3.594 kB / 1.213 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/2.227, allocations: 51.42 kB / 1.213 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/2.228, allocations: 139.2 kB / 1.213 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/2.231, allocations: 8.322 MB / 1.221 GB, free: 99.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006574/2.232, allocations: 57.27 kB / 1.221 GB, free: 99.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/2.232, allocations: 51.52 kB / 1.221 GB, free: 99.64 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.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.0002605/2.232, allocations: 146.1 kB / 1.222 GB, free: 99.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/2.232, allocations: 45.31 kB / 1.222 GB, free: 99.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0029/2.235, allocations: 1.415 MB / 1.223 GB, free: 99.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/2.235, allocations: 3.344 kB / 1.223 GB, free: 99.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/2.235, allocations: 0 / 1.223 GB, free: 99.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/2.235, allocations: 7.266 kB / 1.223 GB, free: 99.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/2.237, allocations: 1.117 MB / 1.224 GB, free: 98.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/2.237, allocations: 3.969 kB / 1.224 GB, free: 98.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/2.237, allocations: 55.44 kB / 1.224 GB, free: 98.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/2.238, allocations: 47.98 kB / 1.224 GB, free: 98.85 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/2.238, allocations: 7.406 kB / 1.224 GB, free: 98.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004397/2.238, allocations: 0.6091 MB / 1.225 GB, free: 98.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/2.238, allocations: 7.219 kB / 1.225 GB, free: 98.32 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001048/2.239, allocations: 0.6349 MB / 1.225 GB, free: 97.98 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001283/2.24, allocations: 1.042 MB / 1.226 GB, free: 97.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/2.241, allocations: 146 kB / 1.227 GB, free: 97.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.485e-05/2.241, allocations: 11.69 kB / 1.227 GB, free: 97.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/2.241, allocations: 24.47 kB / 1.227 GB, free: 97.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.122e-05/2.241, allocations: 23.09 kB / 1.227 GB, free: 97.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/2.241, allocations: 18.28 kB / 1.227 GB, free: 97.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003076/2.242, allocations: 295.5 kB / 1.227 GB, free: 97.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002675/2.244, allocations: 0.5311 MB / 1.227 GB, free: 97.01 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.002008/2.246, allocations: 1.343 MB / 1.229 GB, free: 96.78 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006988/2.247, allocations: 338.5 kB / 1.229 GB, free: 96.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/2.247, allocations: 0 / 1.229 GB, free: 96.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/2.247, allocations: 118.1 kB / 1.229 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.001089/2.248, allocations: 222.8 kB / 1.229 GB, free: 96.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/2.25, allocations: 0.5626 MB / 1.23 GB, free: 96.53 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008188/2.25, allocations: 1.006 MB / 1.231 GB, free: 95.82 MB / 0.5261 GB Notification: Performance of SimCode: time 4.01e-07/2.25, allocations: 0 / 1.231 GB, free: 95.82 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)