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.001381/0.001381, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001469/0.001469, allocations: 213.1 kB / 22.25 MB, free: 4.855 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.801 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.01475/0.01475, allocations: 3.279 MB / 315.7 MB, free: 15.63 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.002134/0.002134, allocations: 63.89 kB / 439.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.09246, allocations: 54.38 MB / 493.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002813/0.09527, allocations: 1.505 MB / 495.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.09731, allocations: 1.336 MB / 496.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.09736, allocations: 4 kB / 496.7 MB, free: 2.641 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.0002917/0.09765, allocations: 35.83 kB / 496.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.09777, allocations: 35.84 kB / 496.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.09806, allocations: 75.8 kB / 496.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.09817, allocations: 51.86 kB / 496.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.09821, allocations: 7.984 kB / 496.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.542e-05/0.09827, allocations: 27.92 kB / 497 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.0984, allocations: 21.73 kB / 497 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.09841, allocations: 4 kB / 497 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.09859, allocations: 95.84 kB / 497.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.09865, allocations: 19.97 kB / 497.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.591e-05/0.09869, allocations: 19.88 kB / 497.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.09891, allocations: 135.5 kB / 497.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.09892, allocations: 0 / 497.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09892, allocations: 0 / 497.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.09892, allocations: 4 kB / 497.2 MB, free: 2.117 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.0004995/0.09942, allocations: 351.5 kB / 497.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.09946, allocations: 12.03 kB / 497.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/0.0995, allocations: 30.75 kB / 497.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.09953, allocations: 8.891 kB / 497.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.09977, allocations: 138.4 kB / 497.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.09978, allocations: 4.375 kB / 497.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.09979, allocations: 8.375 kB / 497.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.09995, allocations: 99.42 kB / 497.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.09996, allocations: 0 / 497.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.09996, allocations: 4 kB / 497.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.09997, allocations: 3.984 kB / 497.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.485e-05/0.1001, allocations: 65.62 kB / 498 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.1002, allocations: 140.7 kB / 498.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.913e-05/0.1003, allocations: 72.27 kB / 498.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.1004, allocations: 62.59 kB / 498.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.1004, allocations: 4 kB / 498.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.1006, allocations: 146.7 kB / 498.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.1006, allocations: 4 kB / 498.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000407/0.101, allocations: 254.8 kB / 498.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/0.1011, allocations: 89.09 kB / 498.7 MB, free: 440 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1012, allocations: 137.8 kB / 498.8 MB, free: 292 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1013, allocations: 25.7 kB / 498.9 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/0.1013, allocations: 92.14 kB / 499 MB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.1013, allocations: 15.84 kB / 499 MB, free: 148 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.1014, allocations: 21.72 kB / 499 MB, free: 120 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1016, allocations: 326.8 kB / 499.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.729e-05/0.1016, allocations: 57.69 kB / 499.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.224e-05/0.1017, allocations: 69.56 kB / 499.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1019, allocations: 120.2 kB / 499.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1019, allocations: 0 / 499.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002725/0.1021, allocations: 204.9 kB / 499.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.1022, allocations: 33.8 kB / 499.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1022, allocations: 7.922 kB / 499.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1022, allocations: 4 kB / 499.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.1023, allocations: 4 kB / 499.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1023, allocations: 0 / 499.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.1024, allocations: 11.94 kB / 499.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1024, allocations: 4.234 kB / 499.8 MB, free: 15.23 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.0001495/0.1025, allocations: 155.5 kB / 500 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.1026, allocations: 11.89 kB / 500 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.1026, allocations: 12.36 kB / 500 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1026, allocations: 0 / 500 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1026, allocations: 0 / 500 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1026, allocations: 0 / 500 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.1028, allocations: 156.7 kB / 0.4884 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1028, allocations: 3.938 kB / 0.4884 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.1028, allocations: 8 kB / 0.4884 GB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1028, allocations: 0 / 0.4884 GB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1028, allocations: 0 / 0.4884 GB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1028, allocations: 4 kB / 0.4884 GB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1028, allocations: 0 / 0.4884 GB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.1031, allocations: 252.4 kB / 0.4887 GB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.1032, allocations: 11.92 kB / 0.4887 GB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.1032, allocations: 8 kB / 0.4887 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.176e-05/0.1032, allocations: 4 kB / 0.4887 GB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.1033, allocations: 4 kB / 0.4887 GB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.1033, allocations: 8 kB / 0.4887 GB, free: 14.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.383e-05/0.1034, allocations: 115 kB / 0.4888 GB, free: 14.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1034, allocations: 3.938 kB / 0.4888 GB, free: 14.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.1036, allocations: 39.94 kB / 0.4889 GB, free: 14.36 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.001487/0.1051, allocations: 0.9513 MB / 0.4898 GB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000309/0.1054, allocations: 206.7 kB / 0.49 GB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.1054, allocations: 4 kB / 0.49 GB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.1056, allocations: 125.1 kB / 0.4901 GB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.1058, allocations: 8 kB / 0.4901 GB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.1079, allocations: 1.833 MB / 0.4919 GB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.351e-05/0.108, allocations: 75.58 kB / 0.492 GB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.426e-05/0.1081, allocations: 12.12 kB / 0.492 GB, free: 11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.1081, allocations: 27.42 kB / 0.492 GB, free: 10.97 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1081, allocations: 0 / 0.492 GB, free: 10.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.1409, allocations: 3.59 MB / 0.4955 GB, free: 7.426 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: 2.7924015880562365] Failed to read output from testmodel.py, exit status != 0: 0.5128957307897508 0.529678934 0.427697856 Calling exit ...