Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_WallLeak.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.Buildings.test_WallLeak,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_WallLeak") translateModel(TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_WallLeak,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_WallLeak") [: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.006445/0.006445, allocations: 180.5 kB / 7.456 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.927/1.927, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.001035/0.001034, allocations: 99.31 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06928/0.06928, allocations: 10.86 MB / 319.9 MB, free: 2.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01657/0.01657, allocations: 4.146 MB / 374.1 MB, free: 79.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.056e-05/1.058e-05, allocations: 4.219 kB / 431.7 MB, free: 21.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.13, allocations: 50.77 MB / 482.4 MB, free: 3.066 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.781/1.911, allocations: 0.6999 GB / 1.171 GB, free: 8.336 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/1.911, allocations: 80.56 kB / 1.171 GB, free: 8.262 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.5421/2.454, allocations: 105.5 MB / 1.274 GB, free: 96.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.502e-05/2.454, allocations: 4 kB / 1.274 GB, free: 96.2 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.00142/2.455, allocations: 0.5364 MB / 1.275 GB, free: 95.62 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/2.455, allocations: 9.531 kB / 1.275 GB, free: 95.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/2.455, allocations: 23.72 kB / 1.275 GB, free: 95.59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/2.456, allocations: 235.1 kB / 1.275 GB, free: 95.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/2.456, allocations: 16 kB / 1.275 GB, free: 95.31 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/2.456, allocations: 8 kB / 1.275 GB, free: 95.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000402/2.456, allocations: 144.6 kB / 1.275 GB, free: 95.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/2.457, allocations: 228 kB / 1.275 GB, free: 94.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/2.457, allocations: 8 kB / 1.275 GB, free: 94.89 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/2.457, allocations: 3.938 kB / 1.275 GB, free: 94.89 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/2.457, allocations: 7.938 kB / 1.275 GB, free: 94.88 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/2.458, allocations: 1.542 MB / 1.277 GB, free: 93.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/2.459, allocations: 85.28 kB / 1.277 GB, free: 93.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/2.459, allocations: 46.66 kB / 1.277 GB, free: 93.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005041/2.459, allocations: 441.5 kB / 1.277 GB, free: 92.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/2.459, allocations: 46.39 kB / 1.277 GB, free: 92.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 2.585e-06/2.459, allocations: 0 / 1.277 GB, free: 92.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006062/2.46, allocations: 121.4 kB / 1.278 GB, free: 92.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/2.46, allocations: 110.8 kB / 1.278 GB, free: 92.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/2.46, allocations: 182.3 kB / 1.278 GB, free: 92.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/2.46, allocations: 29.77 kB / 1.278 GB, free: 91.99 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/2.46, allocations: 159.5 kB / 1.278 GB, free: 91.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/2.46, allocations: 23.66 kB / 1.278 GB, free: 91.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/2.46, allocations: 0 / 1.278 GB, free: 91.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.712e-05/2.46, allocations: 326.8 kB / 1.278 GB, free: 91.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.249e-05/2.46, allocations: 35.98 kB / 1.278 GB, free: 91.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-05/2.461, allocations: 113.4 kB / 1.278 GB, free: 91.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/2.461, allocations: 115.9 kB / 1.279 GB, free: 91.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/2.461, allocations: 0 / 1.279 GB, free: 91.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006392/2.462, allocations: 229.2 kB / 1.279 GB, free: 90.96 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/2.462, allocations: 4 kB / 1.279 GB, free: 90.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/2.462, allocations: 4.312 kB / 1.279 GB, free: 90.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/2.462, allocations: 8 kB / 1.279 GB, free: 90.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/2.462, allocations: 35.92 kB / 1.279 GB, free: 90.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/2.462, allocations: 3.984 kB / 1.279 GB, free: 90.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/2.462, allocations: 19.75 kB / 1.279 GB, free: 90.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/2.462, allocations: 8 kB / 1.279 GB, free: 90.88 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 7.744e-05/2.462, allocations: 113.9 kB / 1.279 GB, free: 90.76 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.719e-05/2.462, allocations: 11.81 kB / 1.279 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/2.463, allocations: 143.4 kB / 1.279 GB, free: 90.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/2.463, allocations: 0 / 1.279 GB, free: 90.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/2.463, allocations: 4 kB / 1.279 GB, free: 90.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/2.463, allocations: 11.84 kB / 1.279 GB, free: 90.58 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/2.464, allocations: 1.092 MB / 1.28 GB, free: 89.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/2.464, allocations: 0 / 1.28 GB, free: 89.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.881e-05/2.464, allocations: 8 kB / 1.28 GB, free: 89.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/2.464, allocations: 4 kB / 1.28 GB, free: 89.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/2.464, allocations: 8.156 kB / 1.28 GB, free: 89.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/2.464, allocations: 4.016 kB / 1.28 GB, free: 89.31 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/2.464, allocations: 11.89 kB / 1.28 GB, free: 89.3 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002783/2.464, allocations: 191.2 kB / 1.28 GB, free: 89.06 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/2.464, allocations: 104.9 kB / 1.281 GB, free: 88.94 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/2.464, allocations: 7.938 kB / 1.281 GB, free: 88.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/2.464, allocations: 4 kB / 1.281 GB, free: 88.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/2.465, allocations: 11.84 kB / 1.281 GB, free: 88.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/2.465, allocations: 11.98 kB / 1.281 GB, free: 88.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0001195/2.465, allocations: 152.6 kB / 1.281 GB, free: 88.75 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007238/2.465, allocations: 163.7 kB / 1.281 GB, free: 88.59 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001416/2.467, allocations: 0.7323 MB / 1.282 GB, free: 87.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002361/2.467, allocations: 87.84 kB / 1.282 GB, free: 87.85 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/2.467, allocations: 0 / 1.282 GB, free: 87.85 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/2.467, allocations: 20.56 kB / 1.282 GB, free: 87.83 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/2.468, allocations: 36.47 kB / 1.282 GB, free: 87.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006955/2.468, allocations: 228.2 kB / 1.282 GB, free: 87.54 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/2.469, allocations: 0.7743 MB / 1.283 GB, free: 86.74 MB / 458.7 MB Notification: Performance of SimCode: time 7.52e-07/2.469, allocations: 0 / 1.283 GB, free: 86.74 MB / 458.7 MB Notification: Performance of Templates: time 0.01247/2.481, allocations: 6.647 MB / 1.289 GB, free: 80.15 MB / 458.7 MB make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_WallLeak.makefile make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_WallLeak.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_Buildings_test_WallLeak -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.Buildings.test_WallLeak.o TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_WallLeak.c TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_WallLeak.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.Buildings.test_WallLeak.c:96:7: error: expected ';' after expression real /* assuming real for unknown type! */_array tmp5; ^ ; TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_WallLeak.c:96:3: warning: expression result unused [-Wunused-value] real /* assuming real for unknown type! */_array tmp5; ^~~~ TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_WallLeak.c:96:45: error: use of undeclared identifier '_array' real /* assuming real for unknown type! */_array tmp5; ^ TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Buildings.test_WallLeak.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.Buildings.test_WallLeak.c:98:295: error: use of undeclared identifier 'tmp5' data->localData[0]->realVars[17] /* wallLeaks._d_a variable */ = omc_TAeZoSysPro_FluidDynamics_Components_Buildings_WallLeaks$wallLeaks_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.Buildings.test_WallLeak.o] Error 1