Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_StaticPipe.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: translateModel(TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_StaticPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_StaticPipe") translateModel(TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_StaticPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_StaticPipe") [: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.002694/0.002694, allocations: 178 kB / 7.454 MB, free: 2.508 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.565/1.565, allocations: 205.2 MB / 213.1 MB, free: 13.91 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.001043/0.001044, allocations: 88.72 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06521/0.06521, allocations: 10.86 MB / 319.9 MB, free: 2.625 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01672/0.01672, allocations: 4.153 MB / 374.2 MB, free: 79.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.793e-06/6.823e-06, allocations: 0 / 431.7 MB, free: 21.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1406, allocations: 50.76 MB / 482.4 MB, free: 3.059 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.822/1.963, allocations: 0.7001 GB / 1.171 GB, free: 7.957 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/1.963, allocations: 82.5 kB / 1.171 GB, free: 7.883 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.5547/2.518, allocations: 107.5 MB / 1.276 GB, free: 93.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.669e-05/2.518, allocations: 4 kB / 1.276 GB, free: 93.31 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001618/2.519, allocations: 0.5519 MB / 1.277 GB, free: 92.71 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.115e-05/2.519, allocations: 9.531 kB / 1.277 GB, free: 92.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/2.52, allocations: 19.72 kB / 1.277 GB, free: 92.69 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/2.52, allocations: 242.6 kB / 1.277 GB, free: 92.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/2.52, allocations: 8 kB / 1.277 GB, free: 92.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/2.52, allocations: 8 kB / 1.277 GB, free: 92.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003353/2.52, allocations: 136.7 kB / 1.277 GB, free: 92.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/2.521, allocations: 232 kB / 1.277 GB, free: 92 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/2.521, allocations: 0 / 1.277 GB, free: 92 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/2.521, allocations: 0 / 1.277 GB, free: 92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/2.521, allocations: 4 kB / 1.277 GB, free: 92 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/2.523, allocations: 1.549 MB / 1.279 GB, free: 90.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/2.523, allocations: 87.78 kB / 1.279 GB, free: 90.2 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.46e-05/2.523, allocations: 50.66 kB / 1.279 GB, free: 90.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002862/2.523, allocations: 340.4 kB / 1.279 GB, free: 89.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/2.523, allocations: 30.56 kB / 1.279 GB, free: 89.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/2.523, allocations: 0 / 1.279 GB, free: 89.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008078/2.524, allocations: 157.3 kB / 1.28 GB, free: 89.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/2.524, allocations: 102.8 kB / 1.28 GB, free: 89.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/2.524, allocations: 171 kB / 1.28 GB, free: 89.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/2.524, allocations: 25.7 kB / 1.28 GB, free: 89.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.603e-05/2.525, allocations: 163.4 kB / 1.28 GB, free: 89.04 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/2.525, allocations: 23.7 kB / 1.28 GB, free: 89.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/2.525, allocations: 0 / 1.28 GB, free: 89.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.058e-05/2.525, allocations: 326.9 kB / 1.28 GB, free: 88.69 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.969e-05/2.525, allocations: 39.94 kB / 1.28 GB, free: 88.65 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-05/2.525, allocations: 109.2 kB / 1.281 GB, free: 88.51 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006556/2.526, allocations: 131.8 kB / 1.281 GB, free: 88.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/2.526, allocations: 4 kB / 1.281 GB, free: 88.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009566/2.527, allocations: 253 kB / 1.281 GB, free: 88.13 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/2.527, allocations: 4 kB / 1.281 GB, free: 88.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/2.527, allocations: 4 kB / 1.281 GB, free: 88.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.541e-05/2.527, allocations: 4 kB / 1.281 GB, free: 88.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/2.527, allocations: 44.23 kB / 1.281 GB, free: 88.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/2.527, allocations: 0 / 1.281 GB, free: 88.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/2.527, allocations: 19.83 kB / 1.281 GB, free: 88.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/2.527, allocations: 8 kB / 1.281 GB, free: 88.05 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001113/2.527, allocations: 121.7 kB / 1.281 GB, free: 87.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/2.527, allocations: 7.906 kB / 1.281 GB, free: 87.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006257/2.528, allocations: 179.2 kB / 1.281 GB, free: 87.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/2.528, allocations: 7.938 kB / 1.281 GB, free: 87.72 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/2.528, allocations: 3.938 kB / 1.281 GB, free: 87.72 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/2.528, allocations: 0 / 1.281 GB, free: 87.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/2.529, allocations: 1.136 MB / 1.282 GB, free: 86.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/2.529, allocations: 4 kB / 1.282 GB, free: 86.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-05/2.529, allocations: 15.98 kB / 1.282 GB, free: 86.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/2.529, allocations: 4.094 kB / 1.282 GB, free: 86.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/2.529, allocations: 0 / 1.282 GB, free: 86.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/2.529, allocations: 4 kB / 1.282 GB, free: 86.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/2.529, allocations: 3.984 kB / 1.282 GB, free: 86.39 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005054/2.53, allocations: 249.6 kB / 1.283 GB, free: 86.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.029e-05/2.53, allocations: 104.9 kB / 1.283 GB, free: 85.96 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/2.53, allocations: 0 / 1.283 GB, free: 85.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/2.53, allocations: 4 kB / 1.283 GB, free: 85.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/2.53, allocations: 8 kB / 1.283 GB, free: 85.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/2.53, allocations: 4 kB / 1.283 GB, free: 85.95 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0001053/2.53, allocations: 148 kB / 1.283 GB, free: 85.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009516/2.531, allocations: 207.6 kB / 1.283 GB, free: 85.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.001643/2.533, allocations: 0.7795 MB / 1.284 GB, free: 84.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002001/2.533, allocations: 87.84 kB / 1.284 GB, free: 84.81 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/2.533, allocations: 0 / 1.284 GB, free: 84.81 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.084e-05/2.533, allocations: 19.94 kB / 1.284 GB, free: 84.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/2.533, allocations: 37.06 kB / 1.284 GB, free: 84.76 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/2.534, allocations: 240 kB / 1.284 GB, free: 84.49 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/2.534, allocations: 0.7704 MB / 1.285 GB, free: 83.69 MB / 458.7 MB Notification: Performance of SimCode: time 8.11e-07/2.534, allocations: 0 / 1.285 GB, free: 83.69 MB / 458.7 MB Notification: Performance of Templates: time 0.01226/2.547, allocations: 6.828 MB / 1.292 GB, free: 76.91 MB / 458.7 MB make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_StaticPipe.makefile make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_StaticPipe.makefile clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Pipes_test_StaticPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_StaticPipe.o TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_StaticPipe.c TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_StaticPipe.c:96:3: error: use of undeclared identifier 'real'; did you mean 'read'? real /* assuming real for unknown type! */_array tmp5; ^~~~ read /usr/include/unistd.h:360:16: note: 'read' declared here extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur; ^ TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_StaticPipe.c:96:7: error: expected ';' after expression real /* assuming real for unknown type! */_array tmp5; ^ ; TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_StaticPipe.c:96:3: warning: expression result unused [-Wunused-value] real /* assuming real for unknown type! */_array tmp5; ^~~~ TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_StaticPipe.c:96:45: error: use of undeclared identifier '_array' real /* assuming real for unknown type! */_array tmp5; ^ TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_StaticPipe.c:97:3: error: use of undeclared identifier 'array_alloc_real' array_alloc_real /* assuming real for unknown type! */_array(&tmp5, 1, 1.0 - data->localData[0]->realVars[1] /* $cse2 variable */); ^ TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_StaticPipe.c:98:282: error: use of undeclared identifier 'tmp5' data->localData[0]->realVars[17] /* pipe._d_a variable */ = omc_TAeZoSysPro_FluidDynamics_Components_Pipes_StaticPipe$pipe_Medium_density__phX(threadData, data->simulationInfo->realParameter[3], data->localData[0]->realVars[5] /* atmosphere._Fluidport[1]._h_outflow variable */, tmp5); ^ 1 warning and 5 errors generated. make: *** [: TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_StaticPipe.o] Error 1