Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Pipes_test_DynamicPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Pipes_test_DynamicPipe",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 3.2.3+maint.om/package.mo): time 0.002315/0.002315, allocations: 181.9 kB / 7.46 MB, free: 2.172 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.094/1.094, allocations: 205.2 MB / 213.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008511/0.0008512, allocations: 96.61 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.0601/0.0601, allocations: 10.87 MB / 319.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01581/0.01581, allocations: 4.159 MB / 374.2 MB, free: 79.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1124/0.1282, allocations: 57.61 MB / 431.8 MB, free: 21.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08599/0.2142, allocations: 50.77 MB / 482.5 MB, free: 2.977 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.328/1.543, allocations: 0.7125 GB / 1.184 GB, free: 159.6 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/1.543, allocations: 86.81 kB / 1.184 GB, free: 159.6 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.2987/1.842, allocations: 128.8 MB / 1.31 GB, free: 61.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/1.842, allocations: 15.94 kB / 1.31 GB, free: 61.78 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/1.842, allocations: 35.53 kB / 1.31 GB, free: 61.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/1.842, allocations: 375.4 kB / 1.31 GB, free: 61.34 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/1.842, allocations: 11.91 kB / 1.31 GB, free: 61.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.271e-05/1.843, allocations: 28 kB / 1.31 GB, free: 61.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007999/1.843, allocations: 0.6534 MB / 1.311 GB, free: 60.65 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007717/1.844, allocations: 0.6935 MB / 1.311 GB, free: 59.92 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/1.844, allocations: 4 kB / 1.311 GB, free: 59.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/1.844, allocations: 0 / 1.311 GB, free: 59.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/1.844, allocations: 40.56 kB / 1.311 GB, free: 59.88 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/1.848, allocations: 2.691 MB / 1.314 GB, free: 57.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/1.849, allocations: 458.4 kB / 1.314 GB, free: 56.63 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/1.849, allocations: 312.6 kB / 1.315 GB, free: 56.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006149/1.85, allocations: 0.6324 MB / 1.315 GB, free: 55.56 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/1.85, allocations: 34.56 kB / 1.315 GB, free: 55.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=23): time 2.164e-06/1.85, allocations: 0 / 1.315 GB, free: 55.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=23): time 0.003427/1.853, allocations: 1.272 MB / 1.317 GB, free: 54.24 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/1.853, allocations: 55.41 kB / 1.317 GB, free: 54.17 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/1.854, allocations: 248.9 kB / 1.317 GB, free: 53.92 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/1.854, allocations: 25.7 kB / 1.317 GB, free: 53.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/1.854, allocations: 219.3 kB / 1.317 GB, free: 53.67 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/1.854, allocations: 90.73 kB / 1.317 GB, free: 53.58 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/1.854, allocations: 0 / 1.317 GB, free: 53.58 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.084e-05/1.854, allocations: 334.8 kB / 1.318 GB, free: 53.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/1.854, allocations: 320.7 kB / 1.318 GB, free: 52.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/1.855, allocations: 455.5 kB / 1.318 GB, free: 52.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003572/1.858, allocations: 1.232 MB / 1.32 GB, free: 51.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/1.858, allocations: 0 / 1.32 GB, free: 51.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.004258/1.862, allocations: 1.675 MB / 1.321 GB, free: 49.51 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.862, allocations: 4 kB / 1.321 GB, free: 49.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/1.863, allocations: 4 kB / 1.321 GB, free: 49.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.863, allocations: 8 kB / 1.321 GB, free: 49.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008952/1.863, allocations: 163.7 kB / 1.321 GB, free: 49.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/1.863, allocations: 11.94 kB / 1.321 GB, free: 49.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006913/1.864, allocations: 79.91 kB / 1.321 GB, free: 49.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.384e-05/1.864, allocations: 35.95 kB / 1.321 GB, free: 49.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 53 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001681/1.864, allocations: 113.8 kB / 1.322 GB, free: 49.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/1.865, allocations: 23.72 kB / 1.322 GB, free: 49.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003914/1.868, allocations: 1.528 MB / 1.323 GB, free: 47.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/1.868, allocations: 4 kB / 1.323 GB, free: 47.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.868, allocations: 0 / 1.323 GB, free: 47.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.868, allocations: 0 / 1.323 GB, free: 47.53 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005238/1.874, allocations: 3.355 MB / 1.326 GB, free: 43.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.874, allocations: 4 kB / 1.326 GB, free: 43.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/1.874, allocations: 107.8 kB / 1.326 GB, free: 43.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/1.874, allocations: 8 kB / 1.326 GB, free: 43.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/1.874, allocations: 23.98 kB / 1.326 GB, free: 43.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/1.874, allocations: 16.55 kB / 1.326 GB, free: 43.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.874, allocations: 12 kB / 1.327 GB, free: 43.71 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003487/1.878, allocations: 2.077 MB / 1.329 GB, free: 41.39 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00402/1.882, allocations: 2.891 MB / 1.331 GB, free: 38.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.597e-05/1.882, allocations: 120.7 kB / 1.331 GB, free: 38.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-05/1.882, allocations: 15.98 kB / 1.331 GB, free: 38.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/1.883, allocations: 40.2 kB / 1.332 GB, free: 38.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/1.883, allocations: 39.86 kB / 1.332 GB, free: 38.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/1.883, allocations: 27.92 kB / 1.332 GB, free: 37.99 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0001585/1.883, allocations: 189.2 kB / 1.332 GB, free: 37.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002435/1.885, allocations: 0.628 MB / 1.332 GB, free: 37.18 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 6 (pipe.transport[1].u[1,1],pipe.transport[1].u[2,1],pipe.transport[1].u[3,1],pipe.transport[2].u[1,1],pipe.transport[2].u[2,1],pipe.transport[2].u[3,1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001489/1.887, allocations: 1.044 MB / 1.333 GB, free: 36.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008043/1.888, allocations: 0.6633 MB / 1.334 GB, free: 35.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.888, allocations: 0 / 1.334 GB, free: 35.46 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002994/1.888, allocations: 305.3 kB / 1.334 GB, free: 35.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006543/1.889, allocations: 113.2 kB / 1.334 GB, free: 35.05 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/1.89, allocations: 0.9621 MB / 1.335 GB, free: 33.99 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/1.891, allocations: 0.9471 MB / 1.336 GB, free: 33.02 MB / 458.7 MB Notification: Performance of SimCode: time 2.91e-07/1.891, allocations: 0 / 1.336 GB, free: 33.02 MB / 458.7 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Pipes_test_DynamicPipe_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Pipes_test_DynamicPipe.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe.pipe 2>&1)