Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 108.6 kB / 21.08 MB, free: 0.8594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 187.8 kB / 24.34 MB, free: 4.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 225.6 MB / 253 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.43e-05, allocations: 6.219 kB / 371.3 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1999/0.1999, allocations: 50.57 MB / 421.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006249/0.2061, allocations: 5.204 MB / 427.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.2064, allocations: 6.531 kB / 427.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007804/0.2071, allocations: 252.8 kB / 427.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006372/0.2078, allocations: 367.7 kB / 427.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01989/0.2277, allocations: 7.182 MB / 434.9 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.2293, allocations: 1.185 MB / 436.1 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.2295, allocations: 88.56 kB / 436.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0067/0.2362, allocations: 3.642 MB / 439.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/0.2367, allocations: 390.6 kB / 440.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.2368, allocations: 56 kB / 440.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01519/0.252, allocations: 9.4 MB / 449.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001251/0.2532, allocations: 1.054 MB / 450.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.00048/0.2537, allocations: 0.6104 MB / 451.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.2539, allocations: 99.75 kB / 451.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001104/0.254, allocations: 8 kB / 451.4 MB, free: 7.562 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 (104) * Number of variables: 107 (101) Notification: Performance of Bindings: time 0.003228/0.2572, allocations: 2.844 MB / 454.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0004867/0.2577, allocations: 403.1 kB / 454.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of Early Inline: time 0.00191/0.2596, allocations: 1.731 MB / 456.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of Simplify 1: time 0.0004517/0.26, allocations: 308.2 kB / 456.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of Alias: time 0.003265/0.2633, allocations: 2.38 MB / 459.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of Simplify 2: time 0.0003621/0.2637, allocations: 276.1 kB / 459.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of Remove Stream: time 0.0002126/0.2639, allocations: 184.1 kB / 459.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Detect States: time 0.0004858/0.2644, allocations: 420.3 kB / 459.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of Events: time 0.0002475/0.2646, allocations: 171.1 kB / 460.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0007161/0.2653, allocations: 0.6233 MB / 460.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of Causalize: time 0.00296/0.2683, allocations: 2.351 MB / 463.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.001584/0.2699, allocations: 1.538 MB / 464.6 MB, free: 9.527 MB / 366.1 MB Notification: Performance of Simplify: time 0.001036/0.2709, allocations: 0.6903 MB / 465.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of Inline: time 0.002477/0.2734, allocations: 2.215 MB / 467.5 MB, free: 6.539 MB / 366.1 MB Notification: Performance of Partitioning: time 7.699e-05/0.2735, allocations: 40 kB / 467.5 MB, free: 6.496 MB / 366.1 MB Notification: Performance of Cleanup: time 0.0004133/0.2739, allocations: 343.6 kB / 467.9 MB, free: 6.16 MB / 366.1 MB Notification: Performance of Causalize: time 0.004529/0.2784, allocations: 3.194 MB / 471.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of Tearing: time 0.0006768/0.2791, allocations: 0.594 MB / 471.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of Initialization: time 7.41e-07/0.2791, allocations: 0 / 471.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of Remove Dummies: time 2.024e-05/0.2791, allocations: 4.5 kB / 471.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of Tearing: time 0.0008348/0.2799, allocations: 0.8384 MB / 472.5 MB, free: 1.273 MB / 366.1 MB Notification: Performance of Categorize: time 2.126e-05/0.28, allocations: 4 kB / 472.5 MB, free: 1.27 MB / 366.1 MB Notification: Performance of Solve: time 0.001321/0.2813, allocations: 0.8192 MB / 473.3 MB, free: 460 kB / 366.1 MB Notification: Performance of Jacobian: time 0.0007761/0.2821, allocations: 0.583 MB / 473.9 MB, free: 15.83 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 7 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 3 (3) {volume.m, volume.mXi, volume.U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 12 (9) {$SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 77 (scalar:69, array:8, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 104 (scalar:90, array:14, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 8.145e-05/0.2821, allocations: 53.41 kB / 474 MB, free: 15.78 MB / 382.1 MB Notification: Performance of SimCode: time 0.02485/0.307, allocations: 11.67 MB / 485.6 MB, free: 4.027 MB / 382.1 MB Notification: Performance of Templates: time 0.06974/0.3767, allocations: 45.5 MB / 0.5187 GB, free: 6.516 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.o Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.c Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:152:274: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'modelica_real' (aka 'double') usub_alloc_real_array(div_alloc_real_array(sub_alloc_real_array(mul_alloc_real_array_scalar(tmp1, (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[0]] /* volume.m STATE(1,der(volume.m)) */)), tmp2), sub_alloc_real_array(add_alloc_real_array_scalar(tmp3, mul_alloc_real_array_scalar(tmp4, (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[0]] /* volume.m STATE(1,der(volume.m)) */))), tmp5)),&tmp6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/real_array.h:143:89: note: passing argument to parameter 'sc' here extern real_array add_alloc_real_array_scalar(const real_array arr, const modelica_real sc); ^ 1 error generated. make: *** [<builtin>: Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.o] Error 1 [Calling os._exit(0), Time elapsed: 2.4644218925386667] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.Xi[1]', 'volume.medium.p'] 0.3849685313180089 0.39955362899999997 0.14257998100000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f10f1fd9780>