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.001713/0.001713, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002185/0.002185, allocations: 217 kB / 22.25 MB, free: 5.082 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 8.02 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.01468/0.01468, allocations: 3.265 MB / 315.7 MB, free: 15.82 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.002002/0.002002, allocations: 67.91 kB / 439.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09967/0.1017, allocations: 54.38 MB / 493.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.00278/0.1045, allocations: 1.518 MB / 495.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.1064, allocations: 1.394 MB / 496.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.384e-05/0.1065, allocations: 0 / 496.9 MB, free: 2.855 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.0002959/0.1068, allocations: 39.84 kB / 496.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.403e-05/0.1068, allocations: 27.84 kB / 496.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.1071, allocations: 83.41 kB / 497 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.1072, allocations: 59.78 kB / 497.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.889e-05/0.1073, allocations: 4 kB / 497.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.196e-05/0.1073, allocations: 27.92 kB / 497.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1075, allocations: 23.91 kB / 497.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1075, allocations: 4 kB / 497.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.1077, allocations: 103.8 kB / 497.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/0.1077, allocations: 15.92 kB / 497.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.1078, allocations: 27.86 kB / 497.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.108, allocations: 127.6 kB / 497.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.108, allocations: 0 / 497.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.108, allocations: 0 / 497.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.108, allocations: 3.938 kB / 497.4 MB, free: 2.32 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.0005239/0.1085, allocations: 363.4 kB / 497.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1086, allocations: 8.031 kB / 497.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.913e-05/0.1086, allocations: 34.75 kB / 497.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.1086, allocations: 8.891 kB / 497.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.1089, allocations: 142.4 kB / 497.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1089, allocations: 384 / 497.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.1089, allocations: 4.375 kB / 497.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1091, allocations: 61.8 kB / 498 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1091, allocations: 4 kB / 498 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1091, allocations: 4 kB / 498 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1091, allocations: 0 / 498 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.1092, allocations: 27.92 kB / 498 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.1094, allocations: 156.7 kB / 498.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.217e-05/0.1094, allocations: 38.58 kB / 498.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.392e-05/0.1095, allocations: 28.89 kB / 498.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.1095, allocations: 0 / 498.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.1097, allocations: 117 kB / 498.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1097, allocations: 0 / 498.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003828/0.1101, allocations: 191.2 kB / 498.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.1101, allocations: 89.05 kB / 498.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1103, allocations: 137.8 kB / 498.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1103, allocations: 29.69 kB / 498.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.1104, allocations: 92.3 kB / 498.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.1104, allocations: 23.84 kB / 498.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.1105, allocations: 25.7 kB / 498.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1106, allocations: 314.8 kB / 499.2 MB, free: 252 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.337e-05/0.1107, allocations: 27.98 kB / 499.3 MB, free: 224 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.696e-05/0.1107, allocations: 31.98 kB / 499.3 MB, free: 192 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1109, allocations: 120.2 kB / 499.4 MB, free: 56 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1109, allocations: 96 / 499.4 MB, free: 56 kB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002507/0.1111, allocations: 167.2 kB / 499.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/0.1112, allocations: 33.7 kB / 499.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1112, allocations: 8 kB / 499.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1112, allocations: 0 / 499.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.1113, allocations: 11.94 kB / 499.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.1113, allocations: 3.984 kB / 499.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.749e-05/0.1113, allocations: 8.078 kB / 499.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1113, allocations: 4 kB / 499.7 MB, free: 15.8 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.0001462/0.1115, allocations: 155.5 kB / 499.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.1115, allocations: 11.89 kB / 499.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.1115, allocations: 16.38 kB / 499.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1115, allocations: 0 / 499.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1116, allocations: 0 / 499.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1116, allocations: 0 / 499.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.1117, allocations: 160.6 kB / 500 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1117, allocations: 3.938 kB / 500 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.1117, allocations: 8 kB / 0.4883 GB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1117, allocations: 0 / 0.4883 GB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1118, allocations: 4 kB / 0.4883 GB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1118, allocations: 0 / 0.4883 GB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1118, allocations: 0 / 0.4883 GB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.1121, allocations: 214.6 kB / 0.4885 GB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.1121, allocations: 15.92 kB / 0.4885 GB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1121, allocations: 4 kB / 0.4885 GB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.17e-05/0.1122, allocations: 4 kB / 0.4885 GB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.1122, allocations: 11.97 kB / 0.4885 GB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1122, allocations: 4 kB / 0.4885 GB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.069e-05/0.1123, allocations: 107.3 kB / 0.4886 GB, free: 15.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1123, allocations: 0 / 0.4886 GB, free: 15.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.1126, allocations: 43.92 kB / 0.4887 GB, free: 14.97 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.001452/0.114, allocations: 0.9111 MB / 0.4896 GB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.1143, allocations: 135.3 kB / 0.4897 GB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1143, allocations: 0 / 0.4897 GB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.1144, allocations: 95.39 kB / 0.4898 GB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.1146, allocations: 8 kB / 0.4898 GB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.1165, allocations: 1.665 MB / 0.4914 GB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1169, allocations: 0.6924 MB / 0.4921 GB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.712e-05/0.1169, allocations: 4 kB / 0.4921 GB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.117, allocations: 27.42 kB / 0.4921 GB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.117, allocations: 0 / 0.4921 GB, free: 11.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.1486, allocations: 3.151 MB / 0.4952 GB, free: 8.242 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.1378842539998004] Failed to read output from testmodel.py, exit status != 0: 0.5308367520046886 0.750799598 0.640021563 Calling exit ...