Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",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.001227/0.001227, allocations: 178.2 kB / 8.519 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.156/1.156, allocations: 221.4 MB / 230.3 MB, free: 7.641 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.0008469/0.0008469, allocations: 98.55 kB / 281.2 MB, free: 5.434 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.1568/0.1568, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1907/0.3475, allocations: 68.04 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.446, allocations: 61.91 MB / 0.4942 GB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9047/1.351, allocations: 0.4994 GB / 0.9936 GB, free: 92.63 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/1.351, allocations: 93.77 kB / 0.9936 GB, free: 92.58 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.6343/1.985, allocations: 248.5 MB / 1.236 GB, free: 46.63 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.985, allocations: 11.94 kB / 1.236 GB, free: 46.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/1.987, allocations: 163 kB / 1.237 GB, free: 46.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000778/1.988, allocations: 0.4911 MB / 1.237 GB, free: 45.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/1.988, allocations: 16 kB / 1.237 GB, free: 45.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.998e-05/1.988, allocations: 24 kB / 1.237 GB, free: 45.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006345/1.988, allocations: 429.8 kB / 1.237 GB, free: 45.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007096/1.989, allocations: 0.5508 MB / 1.238 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/1.989, allocations: 0 / 1.238 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-05/1.989, allocations: 8 kB / 1.238 GB, free: 44.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/1.989, allocations: 12 kB / 1.238 GB, free: 44.86 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/1.992, allocations: 2.612 MB / 1.241 GB, free: 42.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/1.992, allocations: 220.3 kB / 1.241 GB, free: 41.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/1.992, allocations: 120.8 kB / 1.241 GB, free: 41.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002741/1.992, allocations: 440.2 kB / 1.241 GB, free: 41.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/1.992, allocations: 34.56 kB / 1.241 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/1.992, allocations: 0 / 1.241 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.002254/1.995, allocations: 0.6821 MB / 1.242 GB, free: 40.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/1.995, allocations: 166.2 kB / 1.242 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/1.995, allocations: 393 kB / 1.243 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/1.995, allocations: 25.7 kB / 1.243 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/1.995, allocations: 259.3 kB / 1.243 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/1.995, allocations: 106.4 kB / 1.243 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/1.995, allocations: 0 / 1.243 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.912e-05/1.995, allocations: 354.8 kB / 1.243 GB, free: 39.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/1.996, allocations: 133 kB / 1.243 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/1.996, allocations: 301.4 kB / 1.244 GB, free: 38.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/1.998, allocations: 0.5113 MB / 1.244 GB, free: 38.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.998, allocations: 0 / 1.244 GB, free: 38.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002342/2, allocations: 0.8372 MB / 1.245 GB, free: 37.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/2, allocations: 8.094 kB / 1.245 GB, free: 37.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/2, allocations: 8 kB / 1.245 GB, free: 37.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/2, allocations: 44.83 kB / 1.245 GB, free: 37.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/2.001, allocations: 119.8 kB / 1.245 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004458/2.001, allocations: 0.6224 MB / 1.246 GB, free: 36.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/2.001, allocations: 55.61 kB / 1.246 GB, free: 36.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.801e-05/2.002, allocations: 51.98 kB / 1.246 GB, free: 36.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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): 51 * 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 prepare postOptimizeDAE: time 0.0001398/2.002, allocations: 116.8 kB / 1.246 GB, free: 36.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/2.002, allocations: 51.44 kB / 1.246 GB, free: 36.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/2.004, allocations: 1.417 MB / 1.247 GB, free: 34.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/2.004, allocations: 8 kB / 1.247 GB, free: 34.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/2.004, allocations: 0 / 1.247 GB, free: 34.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/2.004, allocations: 0 / 1.247 GB, free: 34.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/2.006, allocations: 1.15 MB / 1.249 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/2.006, allocations: 0 / 1.249 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/2.006, allocations: 55.81 kB / 1.249 GB, free: 33.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001288/2.006, allocations: 48.81 kB / 1.249 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/2.006, allocations: 4 kB / 1.249 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003753/2.007, allocations: 0.6149 MB / 1.249 GB, free: 32.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/2.007, allocations: 7.938 kB / 1.249 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001009/2.008, allocations: 0.6566 MB / 1.25 GB, free: 31.98 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001234/2.009, allocations: 1.094 MB / 1.251 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/2.009, allocations: 152.3 kB / 1.251 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/2.009, allocations: 7.938 kB / 1.251 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/2.01, allocations: 23.91 kB / 1.251 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/2.01, allocations: 23.98 kB / 1.251 GB, free: 30.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/2.01, allocations: 15.98 kB / 1.251 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003521/2.01, allocations: 330.9 kB / 1.251 GB, free: 30.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002237/2.012, allocations: 0.5118 MB / 1.252 GB, free: 29.72 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.002404/2.015, allocations: 1.378 MB / 1.253 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006402/2.016, allocations: 329.8 kB / 1.254 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/2.016, allocations: 8.062 kB / 1.254 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/2.016, allocations: 124.3 kB / 1.254 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/2.017, allocations: 250.9 kB / 1.254 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/2.018, allocations: 0.5985 MB / 1.255 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007284/2.019, allocations: 1.022 MB / 1.256 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/2.019, allocations: 0 / 1.256 GB, free: 26.11 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1)