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.0009585/0.0009585, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008514/0.0008514, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.928/0.928, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.01138/0.01138, allocations: 2.248 MB / 261.4 MB, free: 10.98 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 385.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.981e-05, allocations: 2.281 kB / 385.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002009/0.002029, allocations: 1.498 MB / 386.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.003251, allocations: 1.355 MB / 388.2 MB, free: 9.512 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.0033, allocations: 4 kB / 388.2 MB, free: 9.508 MB / 362.7 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.0003044/0.003605, allocations: 31.78 kB / 388.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.003708, allocations: 31.84 kB / 388.2 MB, free: 9.445 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.003918, allocations: 79.73 kB / 388.3 MB, free: 9.367 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.004025, allocations: 63.77 kB / 388.4 MB, free: 9.305 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.264e-05/0.004057, allocations: 4 kB / 388.4 MB, free: 9.301 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.775e-05/0.004125, allocations: 31.91 kB / 388.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.887e-05/0.004224, allocations: 15.98 kB / 388.4 MB, free: 9.254 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.00424, allocations: 4 kB / 388.4 MB, free: 9.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.004371, allocations: 95.78 kB / 388.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.004427, allocations: 19.92 kB / 388.5 MB, free: 9.137 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.004466, allocations: 15.94 kB / 388.5 MB, free: 9.121 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.004657, allocations: 147.6 kB / 388.7 MB, free: 8.977 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.004659, allocations: 4 kB / 388.7 MB, free: 8.973 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.00466, allocations: 0 / 388.7 MB, free: 8.973 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.004665, allocations: 0 / 388.7 MB, free: 8.973 MB / 362.7 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.0004041/0.005069, allocations: 359.5 kB / 389 MB, free: 8.586 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.005102, allocations: 8.031 kB / 389 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.923e-05/0.005132, allocations: 34.75 kB / 389.1 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.005161, allocations: 12.89 kB / 389.1 MB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.005348, allocations: 137.7 kB / 389.2 MB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.005358, allocations: 4.375 kB / 389.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.005367, allocations: 384 / 389.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.005488, allocations: 99.86 kB / 389.3 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.005495, allocations: 8.125 kB / 389.3 MB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.005504, allocations: 4.125 kB / 389.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.005508, allocations: 0 / 389.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.176e-05/0.005569, allocations: 61.69 kB / 389.4 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.005699, allocations: 148.7 kB / 389.5 MB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.44e-05/0.005764, allocations: 68.27 kB / 389.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.094e-05/0.005815, allocations: 62.59 kB / 389.7 MB, free: 7.832 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.005823, allocations: 3.938 kB / 389.7 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.005954, allocations: 142.8 kB / 389.8 MB, free: 7.664 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.005955, allocations: 4 kB / 389.8 MB, free: 7.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002886/0.006243, allocations: 254.6 kB / 390.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.006282, allocations: 85.11 kB / 390.2 MB, free: 7.285 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.226e-05/0.006374, allocations: 142.5 kB / 390.3 MB, free: 7.137 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.006385, allocations: 29.64 kB / 390.3 MB, free: 7.102 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.006418, allocations: 92.12 kB / 390.4 MB, free: 7.008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.006447, allocations: 19.98 kB / 390.4 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.006479, allocations: 25.7 kB / 390.5 MB, free: 6.957 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.006559, allocations: 318.8 kB / 390.8 MB, free: 6.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.403e-05/0.006603, allocations: 57.69 kB / 390.8 MB, free: 6.574 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-05/0.006643, allocations: 65.69 kB / 390.9 MB, free: 6.504 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.365e-05/0.006727, allocations: 128.3 kB / 391 MB, free: 6.363 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006729, allocations: 0 / 391 MB, free: 6.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001526/0.006882, allocations: 204.7 kB / 391.2 MB, free: 6.148 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.006908, allocations: 33.69 kB / 391.2 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.006913, allocations: 7.938 kB / 391.3 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.006922, allocations: 0 / 391.3 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.006978, allocations: 4 kB / 391.3 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.006983, allocations: 0 / 391.3 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/0.007037, allocations: 11.94 kB / 391.3 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.007045, allocations: 4 kB / 391.3 MB, free: 6.082 MB / 362.7 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 8.39e-05/0.007129, allocations: 169.8 kB / 391.4 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.007143, allocations: 11.94 kB / 391.5 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.007165, allocations: 12.38 kB / 391.5 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.007167, allocations: 0 / 391.5 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.007171, allocations: 0 / 391.5 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.007174, allocations: 0 / 391.5 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.593e-05/0.007259, allocations: 148.7 kB / 391.6 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.00726, allocations: 0 / 391.6 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.52e-05/0.007275, allocations: 11.92 kB / 391.6 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.007277, allocations: 0 / 391.6 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.007288, allocations: 11.94 kB / 391.6 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007289, allocations: 0 / 391.6 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.007291, allocations: 4 kB / 391.6 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.007477, allocations: 248.6 kB / 391.9 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.007493, allocations: 11.95 kB / 391.9 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.007511, allocations: 7.938 kB / 391.9 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.386e-05/0.007545, allocations: 4 kB / 391.9 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.007572, allocations: 11.98 kB / 391.9 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.007584, allocations: 4 kB / 391.9 MB, free: 5.352 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.482e-05/0.007639, allocations: 114.9 kB / 392 MB, free: 5.242 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007639, allocations: 0 / 392 MB, free: 5.242 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.007811, allocations: 43.88 kB / 392.1 MB, free: 5.199 MB / 362.7 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.0007778/0.008589, allocations: 0.9456 MB / 393 MB, free: 4.273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.008767, allocations: 198.7 kB / 393.2 MB, free: 4.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.008769, allocations: 0 / 393.2 MB, free: 4.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.901e-05/0.008838, allocations: 137 kB / 393.3 MB, free: 3.902 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.008982, allocations: 8 kB / 393.4 MB, free: 3.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.01027, allocations: 1.857 MB / 395.2 MB, free: 1.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.947e-05/0.01032, allocations: 82.11 kB / 395.3 MB, free: 1.816 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.434e-05/0.01035, allocations: 16.12 kB / 395.3 MB, free: 1.801 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.0104, allocations: 28.48 kB / 395.3 MB, free: 1.773 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.0104, allocations: 0 / 395.3 MB, free: 1.773 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.03228, allocations: 3.737 MB / 399.1 MB, free: 14.07 MB / 378.7 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 18.1.3 -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ExternData_ExternData.Examples.MATTest/891.fmutmp/sources/fmi -- 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/jenkins/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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libzlib.a;d-NOTFOUND -- Configuring done (0.2s) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ExternData_ExternData.Examples.MATTest/891.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.875352656468749] Failed to read output from testmodel.py, exit status != 0: 0.2638952638953924 0.278104589 0.270526643 Calling exit ...