Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.MATTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 114.3 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 215.8 kB / 22.26 MB, free: 5.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.0153/0.0153, allocations: 3.274 MB / 315.7 MB, free: 15.83 MB / 254.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ExternData.Examples.MATTest,fileNamePrefix="ExternData_ExternData_Examples_MATTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.MATTest,fileNamePrefix="ExternData_ExternData_Examples_MATTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 71.88 kB / 439.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.09731, allocations: 54.37 MB / 493.9 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002999/0.1003, allocations: 1.52 MB / 495.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.1025, allocations: 1.391 MB / 496.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.394e-05/0.1025, allocations: 3.938 kB / 496.9 MB, free: 2.914 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:123:3-145:14:writable] Warning: Pure function 'ExternData.MATFile' contains a call to impure function 'ExternData.Types.ExternMATFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.1028, allocations: 39.78 kB / 496.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.103, allocations: 31.8 kB / 496.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1033, allocations: 79.78 kB / 497 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.1034, allocations: 51.91 kB / 497.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.1035, allocations: 4 kB / 497.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.075e-05/0.1035, allocations: 31.86 kB / 497.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.1037, allocations: 31.84 kB / 497.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.1037, allocations: 4 kB / 497.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.1039, allocations: 95.84 kB / 497.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.104, allocations: 12 kB / 497.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.225e-05/0.104, allocations: 35.78 kB / 497.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.1043, allocations: 123.6 kB / 497.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1043, allocations: 0 / 497.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1043, allocations: 0 / 497.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.1043, allocations: 3.984 kB / 497.4 MB, free: 2.379 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005744/0.1049, allocations: 355.5 kB / 497.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1049, allocations: 8.031 kB / 497.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.105, allocations: 38.75 kB / 497.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.105, allocations: 8.891 kB / 497.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.1053, allocations: 136.7 kB / 497.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1053, allocations: 4.375 kB / 497.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.1053, allocations: 8.375 kB / 497.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.1055, allocations: 65.78 kB / 498 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1055, allocations: 0 / 498 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1055, allocations: 4 kB / 498 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1055, allocations: 4 kB / 498 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.267e-05/0.1056, allocations: 27.98 kB / 498 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.1058, allocations: 152.7 kB / 498.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.171e-05/0.1058, allocations: 42.5 kB / 498.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.1059, allocations: 32.89 kB / 498.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.1059, allocations: 3.938 kB / 498.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.1061, allocations: 113 kB / 498.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1061, allocations: 0 / 498.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003929/0.1065, allocations: 203.3 kB / 498.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.1066, allocations: 81.11 kB / 498.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1067, allocations: 137.8 kB / 498.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1067, allocations: 29.7 kB / 498.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.1068, allocations: 84.14 kB / 498.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.1068, allocations: 27.78 kB / 498.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.1069, allocations: 25.72 kB / 498.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1071, allocations: 322.8 kB / 499.3 MB, free: 300 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.686e-05/0.1071, allocations: 27.98 kB / 499.3 MB, free: 272 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.276e-05/0.1072, allocations: 23.98 kB / 499.3 MB, free: 248 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1073, allocations: 120.2 kB / 499.4 MB, free: 112 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1073, allocations: 0 / 499.4 MB, free: 112 kB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002576/0.1076, allocations: 163.2 kB / 499.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.1076, allocations: 37.69 kB / 499.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1076, allocations: 0 / 499.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1076, allocations: 4 kB / 499.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.1077, allocations: 4 kB / 499.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1077, allocations: 0 / 499.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.863e-05/0.1078, allocations: 7.938 kB / 499.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.1078, allocations: 8 kB / 499.6 MB, free: 15.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.1079, allocations: 155.5 kB / 499.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.1079, allocations: 11.89 kB / 499.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.108, allocations: 12.36 kB / 499.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.108, allocations: 4 kB / 499.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.108, allocations: 0 / 499.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.108, allocations: 0 / 499.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.1081, allocations: 160.7 kB / 500 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1081, allocations: 7.875 kB / 500 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/0.1082, allocations: 4 kB / 500 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1082, allocations: 96 / 500 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.1082, allocations: 15.92 kB / 0.4883 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.1082, allocations: 0 / 0.4883 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1082, allocations: 0 / 0.4883 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.1085, allocations: 215 kB / 0.4885 GB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.1085, allocations: 11.94 kB / 0.4885 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.1086, allocations: 7.984 kB / 0.4885 GB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.305e-05/0.1086, allocations: 4 kB / 0.4885 GB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.1087, allocations: 7.938 kB / 0.4885 GB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.1087, allocations: 4 kB / 0.4885 GB, free: 15.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.191e-05/0.1088, allocations: 114.9 kB / 0.4886 GB, free: 15.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1088, allocations: 0 / 0.4886 GB, free: 15.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.109, allocations: 39.94 kB / 0.4887 GB, free: 15.03 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001511/0.1105, allocations: 0.9067 MB / 0.4896 GB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.1108, allocations: 135.3 kB / 0.4897 GB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1108, allocations: 0 / 0.4897 GB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.1109, allocations: 99.38 kB / 0.4898 GB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.1111, allocations: 11.94 kB / 0.4898 GB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.1131, allocations: 1.665 MB / 0.4914 GB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.1136, allocations: 0.6924 MB / 0.4921 GB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.295e-05/0.1137, allocations: 11.98 kB / 0.4921 GB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.663e-05/0.1137, allocations: 23.42 kB / 0.4921 GB, free: 11.37 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1137, allocations: 0 / 0.4921 GB, free: 11.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.1467, allocations: 3.15 MB / 0.4952 GB, free: 8.293 MB / 366.1 MB Error: Error building simulator. Build log: cmd: cd '891.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ExternData_ExternData.Examples.MATTest/891.fmutmp/sources/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ExternData_ExternData.Examples.MATTest/891.fmutmp/sources/../binaries/linux64 -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/Resources/Library/linux64/libED_MATFile.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/Resources/Library/linux64/libhdf5.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libzlib.a -- Linking d-NOTFOUND -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: /home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/Resources/Library/linux64/libED_MATFile.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/Resources/Library/linux64/libhdf5.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libzlib.a;d-NOTFOUND -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: d linked by target \"891\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ExternData_ExternData.Examples.MATTest/891.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.1401645799633116] Failed to read output from testmodel.py, exit status != 0: 0.5868884839583188 0.8213878609999999 0.714334466 Calling exit ...