Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001039/0.001039, allocations: 197 kB / 8.539 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008868/0.0008868, allocations: 91.22 kB / 286.3 MB, free: 5.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1778/0.1778, allocations: 45.14 MB / 383.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2243/0.4022, allocations: 69.38 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09629/0.4985, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9578/1.456, allocations: 0.5004 GB / 1.004 GB, free: 163.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/1.457, allocations: 91.78 kB / 1.004 GB, free: 163.2 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.681/2.138, allocations: 249.6 MB / 1.248 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/2.138, allocations: 8.906 kB / 1.248 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/2.139, allocations: 172.6 kB / 1.248 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008194/2.14, allocations: 0.4942 MB / 1.249 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/2.14, allocations: 14.44 kB / 1.249 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.227e-05/2.14, allocations: 32.53 kB / 1.249 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007135/2.141, allocations: 428.5 kB / 1.249 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007595/2.142, allocations: 0.5462 MB / 1.25 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/2.142, allocations: 4.188 kB / 1.25 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/2.142, allocations: 2.625 kB / 1.25 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/2.142, allocations: 10.47 kB / 1.25 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/2.144, allocations: 2.613 MB / 1.252 GB, free: 107 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/2.144, allocations: 219.8 kB / 1.253 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/2.145, allocations: 122.8 kB / 1.253 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002838/2.145, allocations: 444.1 kB / 1.253 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/2.145, allocations: 38.06 kB / 1.253 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/2.145, allocations: 0 / 1.253 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.002412/2.147, allocations: 0.6753 MB / 1.254 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/2.147, allocations: 166 kB / 1.254 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/2.148, allocations: 387.5 kB / 1.254 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/2.148, allocations: 27.08 kB / 1.254 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/2.148, allocations: 263.4 kB / 1.255 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.637e-05/2.148, allocations: 105.7 kB / 1.255 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/2.148, allocations: 0 / 1.255 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.082e-05/2.148, allocations: 356.9 kB / 1.255 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/2.148, allocations: 128.2 kB / 1.255 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/2.149, allocations: 308.4 kB / 1.255 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/2.151, allocations: 0.5146 MB / 1.256 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/2.151, allocations: 1.75 kB / 1.256 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002605/2.153, allocations: 0.8311 MB / 1.257 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/2.153, allocations: 11.31 kB / 1.257 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/2.153, allocations: 4.094 kB / 1.257 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/2.154, allocations: 57.33 kB / 1.257 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/2.154, allocations: 120.2 kB / 1.257 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004595/2.154, allocations: 0.6256 MB / 1.258 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/2.155, allocations: 52.61 kB / 1.258 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-05/2.155, allocations: 52.22 kB / 1.258 GB, free: 103.1 MB / 0.5261 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.0001332/2.155, allocations: 122 kB / 1.258 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/2.155, allocations: 50.44 kB / 1.258 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/2.158, allocations: 1.414 MB / 1.259 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/2.158, allocations: 7.844 kB / 1.259 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/2.158, allocations: 0 / 1.259 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/2.158, allocations: 0 / 1.259 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/2.16, allocations: 1.154 MB / 1.26 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/2.16, allocations: 5.938 kB / 1.26 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/2.16, allocations: 54.72 kB / 1.26 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001426/2.16, allocations: 43.67 kB / 1.26 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/2.16, allocations: 5 kB / 1.26 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004178/2.161, allocations: 0.6147 MB / 1.261 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/2.161, allocations: 5.969 kB / 1.261 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001151/2.162, allocations: 0.6599 MB / 1.262 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001315/2.163, allocations: 1.098 MB / 1.263 GB, free: 99.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/2.163, allocations: 146.2 kB / 1.263 GB, free: 99.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/2.163, allocations: 3.188 kB / 1.263 GB, free: 99.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/2.164, allocations: 24.88 kB / 1.263 GB, free: 99.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/2.164, allocations: 18.39 kB / 1.263 GB, free: 99.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/2.164, allocations: 17.11 kB / 1.263 GB, free: 99 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003863/2.164, allocations: 332.6 kB / 1.263 GB, free: 98.81 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002325/2.167, allocations: 0.5686 MB / 1.264 GB, free: 98.52 MB / 0.5261 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.001971/2.169, allocations: 1.387 MB / 1.265 GB, free: 98.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006646/2.169, allocations: 326.1 kB / 1.266 GB, free: 97.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/2.169, allocations: 3.625 kB / 1.266 GB, free: 97.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/2.17, allocations: 121.9 kB / 1.266 GB, free: 97.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/2.171, allocations: 250.9 kB / 1.266 GB, free: 97.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/2.172, allocations: 0.6073 MB / 1.266 GB, free: 97.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008912/2.173, allocations: 1.021 MB / 1.267 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of SimCode: time 3.01e-07/2.173, allocations: 0 / 1.267 GB, free: 96.59 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1)