Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.001386/0.001386, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001513/0.001513, allocations: 216 kB / 22.25 MB, free: 5.105 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.58/1.58, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.328/3.328, allocations: 0.49 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002058/0.002058, allocations: 72.06 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3929, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001864/0.3948, allocations: 0.5575 MB / 1.326 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.3968, allocations: 1.258 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.3968, allocations: 4 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.566e-05/0.3969, allocations: 7.922 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.416e-05/0.3969, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.3977, allocations: 299.2 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.3978, allocations: 71.88 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.3979, allocations: 7.984 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.203e-05/0.3979, allocations: 35.92 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.01e-05/0.398, allocations: 51.83 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.398, allocations: 4 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004076/0.3985, allocations: 235.6 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.948e-05/0.3985, allocations: 7.938 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.3985, allocations: 27.91 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.3989, allocations: 267.5 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.399, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.575e-06/0.399, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.399, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004609/0.3994, allocations: 372.4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3995, allocations: 12.03 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.178e-05/0.3995, allocations: 110 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.782e-05/0.3996, allocations: 84.17 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.3998, allocations: 193.8 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-05/0.3999, allocations: 154.9 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.309e-05/0.4, allocations: 158.9 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.75e-05/0.4, allocations: 104.9 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.4001, allocations: 79.28 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-05/0.4002, allocations: 154.5 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.313e-05/0.4002, allocations: 154.6 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.141e-05/0.4003, allocations: 158.4 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.4006, allocations: 441 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.4007, allocations: 173.1 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.4008, allocations: 80.14 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.4008, allocations: 79.22 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/0.4009, allocations: 105.8 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.4009, allocations: 0 / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001032/0.401, allocations: 41.62 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.4011, allocations: 126.7 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.4012, allocations: 145.7 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.4013, allocations: 25.7 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.888e-05/0.4013, allocations: 100.1 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.4013, allocations: 4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.4014, allocations: 41.7 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4016, allocations: 318.8 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.4017, allocations: 97.64 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.4019, allocations: 97.64 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.402, allocations: 94.52 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.402, allocations: 0 / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005262/0.4025, allocations: 272.8 kB / 1.332 GB, free: 10.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.4026, allocations: 41.69 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4026, allocations: 3.984 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.4026, allocations: 0 / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-06/0.4026, allocations: 4.062 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4026, allocations: 0 / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.403, allocations: 27.94 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.4031, allocations: 23.98 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.0001633/0.4032, allocations: 193.6 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.502e-05/0.4033, allocations: 116.9 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.646e-05/0.4034, allocations: 112.5 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001055/0.4035, allocations: 188.3 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.569e-05/0.4036, allocations: 184.1 kB / 1.333 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.271e-05/0.4037, allocations: 184.3 kB / 1.333 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.4039, allocations: 388.2 kB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-05/0.404, allocations: 104.9 kB / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-05/0.404, allocations: 101 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.221e-05/0.4041, allocations: 184.2 kB / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.599e-05/0.4042, allocations: 180.3 kB / 1.334 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.972e-05/0.4043, allocations: 180.2 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-05/0.4043, allocations: 180.3 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.4045, allocations: 311.7 kB / 1.335 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.4046, allocations: 108.9 kB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.259e-05/0.4047, allocations: 184.2 kB / 1.335 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.615e-05/0.4047, allocations: 109 kB / 1.335 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/0.4048, allocations: 176.3 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/0.4049, allocations: 112.9 kB / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.294e-05/0.405, allocations: 109.9 kB / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.405, allocations: 0 / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003726/0.4053, allocations: 79.67 kB / 1.336 GB, free: 6.836 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001345/0.4067, allocations: 1.049 MB / 1.337 GB, free: 5.848 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002914/0.407, allocations: 189 kB / 1.337 GB, free: 5.645 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.407, allocations: 0 / 1.337 GB, free: 5.645 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.407, allocations: 0 / 1.337 GB, free: 5.645 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.4075, allocations: 469.2 kB / 1.337 GB, free: 5.184 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.4097, allocations: 2.017 MB / 1.339 GB, free: 3.055 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.715e-05/0.4097, allocations: 63.34 kB / 1.34 GB, free: 2.973 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.399e-05/0.4098, allocations: 51.8 kB / 1.34 GB, free: 2.922 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.4098, allocations: 11.44 kB / 1.34 GB, free: 2.91 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.4098, allocations: 0 / 1.34 GB, free: 2.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03231/0.4422, allocations: 4.441 MB / 1.344 GB, free: 14.55 MB / 1.045 GB Error: Error building simulator. Build log: cmd: cd '100.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/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/100.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/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/100.fmutmp/sources/../binaries/linux64 -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Resources/Library/linux64/libModelicaBuildingsPython_3_8.so -- Linking python3.8-NOTFOUND -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Resources/Library/linux64/libModelicaBuildingsPython_3_8.so;python3.8-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: python3.8 linked by target \"100\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/100.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 7.755244141997537] Failed to read output from testmodel.py, exit status != 0: 0.8695609130081721 0.899670467 0.49493918900000006 Calling exit ...